Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testBool
Method
testBool
src/test/java/com/github/javafaker/BoolTest.java:10–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
public
class
BoolTest extends AbstractFakerTest {
9
10
@Test
11
public
void
testBool() {
12
for
(
int
i = 0; i < 100; i++) {
13
assertThat(faker.bool().bool(), isOneOf(true, false));
14
}
15
}
16
}
Callers
nothing calls this directly
Calls
1
bool
Method · 0.45
Tested by
no test coverage detected