Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testHop
Method
testHop
src/test/java/com/github/javafaker/BeerTest.java:20–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
@Test
21
public
void
testHop() {
22
assertThat(faker.beer().hop(), matchesRegularExpression(
"[A-Za-z'’()\\. 0-9-]+"
));
23
}
24
25
@Test
26
public
void
testMalt() {
Callers
nothing calls this directly
Calls
3
hop
Method · 0.80
beer
Method · 0.80
matchesRegularExpression
Method · 0.80
Tested by
no test coverage detected