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

Method testAuthor

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

Source from the content-addressed store, hash-verified

13 }
14
15 @Test
16 public void testAuthor() {
17 assertThat(faker.book().author(), matchesRegularExpression("([\\w']+\\.? ?){2,3}"));
18 }
19
20 @Test
21 public void testPublisher() {

Callers

nothing calls this directly

Calls 3

authorMethod · 0.45
bookMethod · 0.45

Tested by

no test coverage detected