Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testPrefix
Method
testPrefix
src/test/java/com/github/javafaker/NameTest.java:50–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
@Test
51
public
void
testPrefix() {
52
assertThat(faker.name().prefix(), matchesRegularExpression(
"\\w+\\.?"
));
53
}
54
55
@Test
56
public
void
testSuffix() {
Callers
nothing calls this directly
Calls
3
matchesRegularExpression
Method · 0.80
prefix
Method · 0.45
name
Method · 0.45
Tested by
no test coverage detected