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

Method testUsername

src/test/java/com/github/javafaker/NameTest.java:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 @Test
66 public void testUsername() {
67 assertThat(faker.name().username(), matchesRegularExpression("^(\\w+)\\.(\\w+)$"));
68 }
69
70 @Test
71 public void testUsernameWithSpaces() {

Callers

nothing calls this directly

Calls 3

usernameMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected