@Test()
public void shouldRegisterWithCustomNetworkRequest() {

  NetworkRequest customRequest =
      new NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build();
  ConnectivityManager manager = setUpManagerWithNetworkRequest(customRequest);
  sut.observe().subscribeWith(testObserver).assertSubscribed();
  verify(manager).registerNetworkCallback(eq(customRequest), any(NetworkCallback.class));
}