| 7 | |
| 8 | |
| 9 | public class CryptoTest extends AbstractFakerTest { |
| 10 | |
| 11 | @Test |
| 12 | public void testMd5() { |
| 13 | assertThat(faker.crypto().md5(), matchesRegularExpression("[a-z\\d]+")); |
| 14 | } |
| 15 | |
| 16 | @Test |
| 17 | public void testSha1() { |
| 18 | assertThat(faker.crypto().sha1(), matchesRegularExpression("[a-z\\d]+")); |
| 19 | } |
| 20 | |
| 21 | @Test |
| 22 | public void testSha256() { |
| 23 | assertThat(faker.crypto().sha256(), matchesRegularExpression("[a-z\\d]+")); |
| 24 | } |
| 25 | |
| 26 | @Test |
| 27 | public void testSha512() { |
| 28 | assertThat(faker.crypto().sha512(), matchesRegularExpression("[a-z\\d]+")); |
| 29 | } |
| 30 | } |
nothing calls this directly
no outgoing calls
no test coverage detected