@Test
public void shouldNotReturnAnyServerForACertainNetworkAddress() throws Exception {

  NetworkAddress networkAddress = NetworkAddress.builder()
      .ip("192.168.1.435")
      .port(9998)
      .build();
  NetworkAddressEntity networkAddressEntity = NetworkAddressEntity.builder()
      .ip("192.168.1.435")
      .port(9998)
      .build();
  when(mockNetworkAddressEntityDataMapper.transformInverse(networkAddress)).thenReturn(
      networkAddressEntity);
  when(mockServerSearchManager.searchServer(networkAddressEntity)).thenReturn(Observable.never());
  Observable<Server> serverObservable = networkActionProvider.searchServer(networkAddress);
  TestObserver<Server> testObserver = serverObservable.test();
  testObserver.assertEmpty();
  testObserver.assertNotComplete();
  verify(mockServerSearchManager, times(1)).searchServer(networkAddressEntity);
  verifyZeroInteractions(mockServerEntityDataMapper);
  verifyNoMoreInteractions(mockServerSearchManager);
}