@Test
public void shouldEvaluateAsInvalidGivenLoopbackInterface() throws Exception {

  when(mockNetworkInterface.isLoopback()).thenReturn(true);
  boolean isValid = networkInterfaceValidator.isValid(mockNetworkInterface);
  assertThat(isValid).isFalse();
}