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

Class AncientTest

src/test/java/com/github/javafaker/AncientTest.java:8–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import static org.junit.Assert.assertThat;
7
8public class AncientTest extends AbstractFakerTest {
9
10 @Test
11 public void god() {
12 assertThat(faker.ancient().god(), matchesRegularExpression("\\w+"));
13 }
14
15 @Test
16 public void primordial() {
17 assertThat(faker.ancient().primordial(), matchesRegularExpression("\\w+"));
18 }
19
20 @Test
21 public void titan() {
22 assertThat(faker.ancient().titan(), matchesRegularExpression("\\w+"));
23 }
24
25 @Test
26 public void hero() {
27 assertThat(faker.ancient().hero(), matchesRegularExpression("(?U)\\w+"));
28 }
29
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected