@Test
@Config(sdk = LOLLIPOP)
public void shouldFallbackToDefault_whenNetworkInfoFromNetworkThrows() {

  NETWORK = getNetwork();
  doThrow(Exception.class).when(connectivityManager).getNetworkInfo(NETWORK);
  RxNetworkInfo sut = create(NETWORK, connectivityManager);
  assertThat(sut).isEqualTo(DEFAULT_RXNETWORK_INFO);
}