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

Method testCity

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

Source from the content-addressed store, hash-verified

65 }
66
67 @Test
68 public void testCity() {
69 assertThat(faker.address().city(), matchesRegularExpression("[A-Za-z'() ]+"));
70 }
71
72 @Test
73 public void testCityName() {

Callers

nothing calls this directly

Calls 3

addressMethod · 0.80
cityMethod · 0.45

Tested by

no test coverage detected