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

Method testState

src/test/java/com/github/javafaker/AddressTest.java:62–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 @Test
63 public void testState() {
64 assertThat(faker.address().state(), matchesRegularExpression("[A-Za-z ]+"));
65 }
66
67 @Test
68 public void testCity() {

Callers

nothing calls this directly

Calls 3

addressMethod · 0.80
stateMethod · 0.45

Tested by

no test coverage detected