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

Method testName

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

Source from the content-addressed store, hash-verified

8public class CompanyTest extends AbstractFakerTest {
9
10 @Test
11 public void testName() {
12 assertThat(faker.company().name(), matchesRegularExpression("[A-Za-z\\-&', ]+"));
13 }
14
15 @Test
16 public void testSuffix() {

Callers

nothing calls this directly

Calls 3

nameMethod · 0.45
companyMethod · 0.45

Tested by

no test coverage detected