Providers { public static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code) { return filter(all(), ProviderPredicates.boundedByIso3166Code(iso3166Code)); }  static Function<ProviderMetadata, String> idFunction(); static Function<ProviderMetadata, ApiMetadata> apiMetadataFunction(); static Iterable<ProviderMetadata> fromServiceLoader(); static Iterable<ProviderMetadata> all(); static ProviderMetadata withId(String id); static Iterable<ProviderMetadata> viewableAs(TypeToken<? extends View> viewableAs); static Iterable<ProviderMetadata> viewableAs(Class<? extends View> viewableAs); static Iterable<ProviderMetadata> apiMetadataAssignableFrom(TypeToken<? extends ApiMetadata> api); static Iterable<ProviderMetadata> contextAssignableFrom(
            TypeToken<? extends Context> context); static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code); static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code,
            TypeToken<? extends View> viewableAs); static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code,
            Class<? extends View> viewableAs); static Iterable<ProviderMetadata> collocatedWith(ProviderMetadata providerMetadata); static Iterable<ProviderMetadata> collocatedWith(ProviderMetadata providerMetadata,
            TypeToken<? extends View> viewableAs); static Iterable<ProviderMetadata> collocatedWith(ProviderMetadata providerMetadata,
            Class<? extends View> viewableAs);  }
@Test public void testBoundedByIso3166Code() { assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-CA")), 2); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-FL")), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US")), 2); assertEquals(Iterables.size(Providers.boundedByIso3166Code("JP-13")), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("JP")), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("FAKE-CODE")), 0); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-CA", Storage.class)), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-CA", Compute.class)), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-FL", Storage.class)), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US-FL", Compute.class)), 0); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US", Storage.class)), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("US", Compute.class)), 1); assertEquals(Iterables.size(Providers.boundedByIso3166Code("FAKE-CODE", Storage.class)), 0); assertEquals(Iterables.size(Providers.boundedByIso3166Code("FAKE-CODE", Compute.class)), 0); }