MCPcopy Create free account
hub / github.com/DiUS/java-faker / domainWord

Method domainWord

src/main/java/com/github/javafaker/Internet.java:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 public String domainWord() {
46 return FakerIDN.toASCII(faker.name().lastName().toLowerCase().replaceAll("'", ""));
47 }
48
49 public String domainSuffix() {
50 return faker.fakeValuesService().resolve("internet.domain_suffix", this, faker);

Callers 3

domainNameMethod · 0.95
urlMethod · 0.95
testDomainWordMethod · 0.80

Calls 3

toASCIIMethod · 0.95
lastNameMethod · 0.45
nameMethod · 0.45

Tested by 1

testDomainWordMethod · 0.64