@Test
public void shouldCheckInvalidWhenNegativePortNumberGiven() throws Exception {

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