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

Method testCode

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

Source from the content-addressed store, hash-verified

13 }
14
15 @Test
16 public void testCode() {
17 final Currency currency = faker.currency();
18 assertThat(currency.code(), matchesRegularExpression("[A-Z]{3}"));
19 }
20
21}

Callers

nothing calls this directly

Calls 3

codeMethod · 0.95
currencyMethod · 0.45

Tested by

no test coverage detected