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

Method testName

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

Source from the content-addressed store, hash-verified

8public class BeerTest extends AbstractFakerTest {
9
10 @Test
11 public void testName() {
12 assertThat(faker.beer().name(), matchesRegularExpression("[\\p{L}'()\\., 0-9-’’]+"));
13 }
14
15 @Test
16 public void testStyle() {

Callers

nothing calls this directly

Calls 3

beerMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected