Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testCode
Method
testCode
src/test/java/com/github/javafaker/CurrencyTest.java:15–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
@Test
16
public
void
testCode() {
17
final
Currency currency = faker.currency();
18
assertThat(currency.code(), matchesRegularExpression(
"[A-Z]{3}"
));
19
}
20
21
}
Callers
nothing calls this directly
Calls
3
code
Method · 0.95
matchesRegularExpression
Method · 0.80
currency
Method · 0.45
Tested by
no test coverage detected