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

Method testSport

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

Source from the content-addressed store, hash-verified

32 assertThat(zaFaker.team().state(), isStringWithContents());
33 }
34 @Test
35 public void testSport() {
36 assertThat(faker.team().sport(), matchesRegularExpression("(\\p{L}|\\s)+"));
37 }
38
39
40}

Callers

nothing calls this directly

Calls 3

sportMethod · 0.80
teamMethod · 0.45

Tested by

no test coverage detected