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

Method slug

src/main/java/com/github/javafaker/Internet.java:270–272  ·  view source on GitHub ↗

@return a slug using '_' as the word separator and two Lorem words as the values

()

Source from the content-addressed store, hash-verified

268 * @return a slug using '_' as the word separator and two {@link Lorem} words as the values
269 */
270 public String slug() {
271 return slug(faker.lorem().words(2), "_");
272 }
273
274 /**
275 * @param wordsOrNull if null, then 2 {@link Lorem} words

Callers 3

testSlugWithParamsMethod · 0.80
testSlugMethod · 0.80
fileNameMethod · 0.80

Calls 5

wordsMethod · 0.80
loremMethod · 0.80
toStringMethod · 0.80
getMethod · 0.65
sizeMethod · 0.45

Tested by 2

testSlugWithParamsMethod · 0.64
testSlugMethod · 0.64