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

Method domainName

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

Source from the content-addressed store, hash-verified

39 }
40
41 public String domainName() {
42 return domainWord() + "." + domainSuffix();
43 }
44
45 public String domainWord() {
46 return FakerIDN.toASCII(faker.name().lastName().toLowerCase().replaceAll("'", ""));

Callers 2

testDomainNameMethod · 0.45
testFarsiIDNsMethod · 0.45

Calls 2

domainWordMethod · 0.95
domainSuffixMethod · 0.95

Tested by 2

testDomainNameMethod · 0.36
testFarsiIDNsMethod · 0.36