| 8 | import org.junit.Test; |
| 9 | |
| 10 | public class GameOfThronesTest extends AbstractFakerTest { |
| 11 | |
| 12 | @Test |
| 13 | public void character() { |
| 14 | assertThat(faker.gameOfThrones().character(), matchesRegularExpression("[A-Za-z'\\-\\(\\) ]+")); |
| 15 | } |
| 16 | |
| 17 | @Test |
| 18 | public void house() { |
| 19 | assertThat(faker.gameOfThrones().house(), matchesRegularExpression("[A-Za-z' ]+")); |
| 20 | } |
| 21 | |
| 22 | @Test |
| 23 | public void city() { |
| 24 | assertThat(faker.gameOfThrones().city(), matchesRegularExpression("[A-Za-z' ]+")); |
| 25 | } |
| 26 | |
| 27 | @Test |
| 28 | public void dragon() { |
| 29 | assertThat(faker.gameOfThrones().dragon(), matchesRegularExpression("\\w+")); |
| 30 | } |
| 31 | |
| 32 | @Test |
| 33 | public void quote() { |
| 34 | assertThat(faker.gameOfThrones().quote(), not(isEmptyOrNullString())); |
| 35 | } |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected