Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ gender
Method
gender
src/test/java/com/github/javafaker/DogTest.java:35–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
@Test
36
public
void
gender() {
37
assertThat(faker.dog().gender(), matchesRegularExpression(
"[A-Za-z ]+"
));
38
}
39
40
@Test
41
public
void
coatLength() {
Callers
nothing calls this directly
Calls
2
dog
Method · 0.80
matchesRegularExpression
Method · 0.80
Tested by
no test coverage detected