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

Method testName

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

Source from the content-addressed store, hash-verified

8public class CurrencyTest extends AbstractFakerTest {
9
10 @Test
11 public void testName() {
12 assertThat(faker.currency().name(), matchesRegularExpression("[\\w\\'\\.\\-\\(\\) ]+"));
13 }
14
15 @Test
16 public void testCode() {

Callers

nothing calls this directly

Calls 3

nameMethod · 0.45
currencyMethod · 0.45

Tested by

no test coverage detected