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

Class AviationTest

src/test/java/com/github/javafaker/AviationTest.java:9–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import static org.junit.Assert.assertThat;
8
9public class AviationTest extends AbstractFakerTest {
10
11 @Test
12 public void airport() {
13 assertThat(faker.aviation().airport(), matchesRegularExpression("\\w{4}"));
14 }
15
16 @Test
17 public void aircraft() {
18 assertThat(faker.aviation().aircraft(), isStringWithContents());
19 }
20
21 @Test
22 public void metar() {
23 assertThat(faker.aviation().METAR(), isStringWithContents());
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected