Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ galaxy
Method
galaxy
src/test/java/com/github/javafaker/SpaceTest.java:20–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
@Test
21
public
void
galaxy() {
22
assertThat(faker.space().galaxy(), matchesRegularExpression(
"(\\w+ ?){2,3}"
));
23
}
24
25
@Test
26
public
void
nebula() {
Callers
nothing calls this directly
Calls
2
space
Method · 0.80
matchesRegularExpression
Method · 0.80
Tested by
no test coverage detected