@Test
public void shouldCheckInvalidWhenInvalidIpGiven() throws Exception {

  NetworkAddress networkAddress = NetworkAddress.builder()
      .ip("945.333.0.257")
      .port(4356)
      .build();
  boolean valid = networkAddressValidator.isValid(networkAddress);
  assertThat(valid).isFalse();
}