BuiltInNetworkObservingStrategyFactory implements NetworkObservingStrategyFactory { public static NetworkObservingStrategyFactory create( @NonNull ObservingStrategyProviders<NetworkObservingStrategyProvider> strategyProviders) { return new BuiltInNetworkObservingStrategyFactory(strategyProviders); } BuiltInNetworkObservingStrategyFactory(
      @NonNull ObservingStrategyProviders<NetworkObservingStrategyProvider> strategyProviders); static NetworkObservingStrategyFactory create(
      @NonNull ObservingStrategyProviders<NetworkObservingStrategyProvider> strategyProviders); @NonNull @Override NetworkObservingStrategy get();  }
@Test(expected = NullPointerException.class) public void shouldThrow_whenTryingToCreateWithNullProviders() { BuiltInNetworkObservingStrategyFactory.create(null); }