@Test public void shouldTryToUnregisterReceiver() {

  // given
  final PreLollipopNetworkObservingStrategy strategy = new PreLollipopNetworkObservingStrategy();
  final Application context = spy(RuntimeEnvironment.application);
  // when
  strategy.tryToUnregisterReceiver(context, broadcastReceiver);
  // then
  verify(context).unregisterReceiver(broadcastReceiver);
}