()
| 239 | } |
| 240 | |
| 241 | @Test |
| 242 | public void testIpV6() { |
| 243 | assertThat(faker.internet().ipV6Address(), countOf(':', is(7))); |
| 244 | |
| 245 | for (int i = 0; i < 1000; i++) { |
| 246 | assertThat( |
| 247 | "Is valid ipv6 format", |
| 248 | faker.internet().ipV6Address(), |
| 249 | matchesRegularExpression("[0-9a-fA-F]{1,4}(\\:([0-9a-fA-F]{1,4})){1,7}")); |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | @Test |
| 254 | public void testIpV6Cidr() { |
nothing calls this directly
no test coverage detected