[TestMethod] public void testAlternateFormatsFailsGracefully() { PhoneMetadata noAlternateFormats = MetadataManager.getAlternateFormatsForCountry(999); assertNull(noAlternateFormats); }
[TestMethod] public void testShortNumberMetadataFailsGracefully() { PhoneMetadata noShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("XXX"); assertNull(noShortNumberMetadata); }
/** * Convenience method to get a list of what regions the library has metadata for. */ internal Set <String> getSupportedRegions() { return(Collections.unmodifiableSet(MetadataManager.getShortNumberMetadataSupportedRegions())); }