WalledGardenInternetObservingStrategy extends UrlConnectionInternetObservingStrategy { @NonNull public static WalledGardenInternetObservingStrategy create() { return builder().build(); } WalledGardenInternetObservingStrategy(@NonNull Builder builder); @NonNull static WalledGardenInternetObservingStrategy create(); @NonNull static Builder builder();  }
@Test public void shouldSubscribeCorrectly_whenCreatedFromDefaultFactory() { InternetObservingStrategy sut = WalledGardenInternetObservingStrategy.create(); sut.observe().test().assertSubscribed(); }