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

Method testHex

src/test/java/com/github/javafaker/ColorTest.java:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 @Test
16 public void testHex() {
17 assertThat(faker.color().hex(), matchesRegularExpression("^#[0-9A-F]{6}$"));
18 }
19
20 @Test
21 public void testHexNoHashSign() {

Callers

nothing calls this directly

Calls 3

hexMethod · 0.45
colorMethod · 0.45

Tested by

no test coverage detected