@Test public void observeNetworkConnectivityShouldBeConnectedOnStartWhenNetworkIsAvailable() {

  // given
  final Application context = RuntimeEnvironment.application;
  // when
  Connectivity connectivity = ReactiveNetwork.observeNetworkConnectivity(context).blockingFirst();
  // then
  assertThat(connectivity.state()).isEqualTo(NetworkInfo.State.CONNECTED);
}