MCPcopy Create free account
hub / github.com/DiUS/java-faker / testSha1

Method testSha1

src/test/java/com/github/javafaker/CryptoTest.java:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 3

sha1Method · 0.80
cryptoMethod · 0.80

Tested by

no test coverage detected