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

Method testPublisher

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

Source from the content-addressed store, hash-verified

18 }
19
20 @Test
21 public void testPublisher() {
22 assertThat(faker.book().publisher(), matchesRegularExpression("([\\p{L}'&\\-]+[,.]? ?){1,5}"));
23 }
24
25 @Test
26 public void testGenre() {

Callers

nothing calls this directly

Calls 3

publisherMethod · 0.80
bookMethod · 0.45

Tested by

no test coverage detected