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

Method testName

src/test/java/com/github/javafaker/TeamTest.java:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11public class TeamTest extends AbstractFakerTest {
12
13 @Test
14 public void testName() {
15 assertThat(faker.team().name(), matchesRegularExpression("(\\w+( )?){2,4}"));
16 }
17
18 @Test
19 public void testCreature() {

Callers

nothing calls this directly

Calls 3

nameMethod · 0.45
teamMethod · 0.45

Tested by

no test coverage detected