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