@Test
public void shouldFallbackToDefault_whenActiveNetworkInfoNull() {

  doReturn(connectivityManager).when(context).getSystemService(CONNECTIVITY_SERVICE);
  doReturn(null).when(connectivityManager).getActiveNetworkInfo();
  RxNetworkInfo sut = create(context);
  assertThat(sut).isEqualTo(DEFAULT_RXNETWORK_INFO);
}