Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testState
Method
testState
src/test/java/com/github/javafaker/AddressTest.java:62–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
62
@Test
63
public
void
testState() {
64
assertThat(faker.address().state(), matchesRegularExpression(
"[A-Za-z ]+"
));
65
}
66
67
@Test
68
public
void
testCity() {
Callers
nothing calls this directly
Calls
3
address
Method · 0.80
matchesRegularExpression
Method · 0.80
state
Method · 0.45
Tested by
no test coverage detected