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