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

Method testTitle

src/test/java/com/github/javafaker/NameTest.java:60–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 @Test
61 public void testTitle() {
62 assertThat(faker.name().title(), matchesRegularExpression("(\\w+\\.?( )?){3}"));
63 }
64
65 @Test
66 public void testUsername() {

Callers

nothing calls this directly

Calls 3

titleMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected