Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testGenre
Method
testGenre
src/test/java/com/github/javafaker/BookTest.java:25–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
@Test
26
public
void
testGenre() {
27
assertThat(faker.book().genre(), matchesRegularExpression(
"([\\w/]+ ?){2,4}"
));
28
}
29
}
Callers
nothing calls this directly
Calls
3
matchesRegularExpression
Method · 0.80
genre
Method · 0.45
book
Method · 0.45
Tested by
no test coverage detected