| 6 | import static org.junit.Assert.assertThat; |
| 7 | |
| 8 | public class CatTest extends AbstractFakerTest { |
| 9 | |
| 10 | @Test |
| 11 | public void name() { |
| 12 | assertThat(faker.cat().name(), matchesRegularExpression("[A-Za-z'() 0-9-]+")); |
| 13 | } |
| 14 | |
| 15 | @Test |
| 16 | public void breed() { |
| 17 | assertThat(faker.cat().breed(), matchesRegularExpression("[A-Za-z'() 0-9-,]+")); |
| 18 | } |
| 19 | |
| 20 | @Test |
| 21 | public void registry() { |
| 22 | assertThat(faker.cat().registry(), matchesRegularExpression("[A-Za-zé'() 0-9-]+")); |
| 23 | } |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected