Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testUrl
Method
testUrl
src/test/java/com/github/javafaker/InternetTest.java:84–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
82
}
83
84
@Test
85
public
void
testUrl() {
86
assertThat(faker.internet().url(), matchesRegularExpression(
"www\\.(\\w|-)+\\.\\w+"
));
87
}
88
89
@Test
90
public
void
testAvatar() {
Callers
nothing calls this directly
Calls
3
internet
Method · 0.80
matchesRegularExpression
Method · 0.80
url
Method · 0.45
Tested by
no test coverage detected