Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ name
Method
name
src/test/java/com/github/javafaker/DogTest.java:10–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
public
class
DogTest extends AbstractFakerTest {
9
10
@Test
11
public
void
name() {
12
assertThat(faker.dog().name(), matchesRegularExpression(
"[A-Za-z ]+"
));
13
}
14
15
@Test
16
public
void
breed() {
Callers
15
testName
Method · 0.45
testName
Method · 0.45
testName
Method · 0.45
testName
Method · 0.45
testName
Method · 0.45
testNameWithMiddle
Method · 0.45
testNameWithMiddleDoesNotHaveRepeatedName
Method · 0.45
testFullName
Method · 0.45
testFirstName
Method · 0.45
testLastName
Method · 0.45
testPrefix
Method · 0.45
testSuffix
Method · 0.45
Calls
2
dog
Method · 0.80
matchesRegularExpression
Method · 0.80
Tested by
no test coverage detected