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

Class FunnyNameTest

src/test/java/com/github/javafaker/FunnyNameTest.java:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import static org.junit.Assert.assertThat;
7
8public class FunnyNameTest extends AbstractFakerTest {
9
10 @Test
11 public void name() {
12 assertThat(faker.funnyName().name(), matchesRegularExpression("^(\\w+\\.?\\s?'?-?)+$"));
13 }
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected