| 7 | import static org.junit.Assert.assertThat; |
| 8 | |
| 9 | public class AvatarTest extends AbstractFakerTest { |
| 10 | |
| 11 | @Test |
| 12 | @Repeat(times=10) |
| 13 | public void testAvatar() { |
| 14 | String avatar = faker.avatar().image(); |
| 15 | assertThat(avatar, matchesRegularExpression("^https:\\/\\/s3.amazonaws\\.com\\/uifaces\\/faces\\/twitter\\/[a-zA-Z0-9_]+\\/128\\.jpg$")); |
| 16 | } |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected