Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testCode2
Method
testCode2
src/test/java/com/github/javafaker/CountryTest.java:20–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
19
20
@Test
21
public
void
testCode2() {
22
assertThat(faker.country().countryCode2(), matchesRegularExpression(
"([a-z]{2})"
));
23
}
24
25
@Test
26
public
void
testCode3() {
Callers
nothing calls this directly
Calls
3
countryCode2
Method · 0.80
matchesRegularExpression
Method · 0.80
country
Method · 0.45
Tested by
no test coverage detected