### Question:
CurrencyMappings { public static Set<String> getNamespaces() { return CURRENCIES_SPI.getNamespaces(); } private  CurrencyMappings(); static boolean isNamespaceAvailable(String namespace); static Set<String> getNamespaces(); static Set<String> getNamespaces(String currencyCode); static Set<String> getNamespaces(CurrencyUnit currencyUnit); static CurrencyQuery getNamespaceQuery(String namespace); static CurrencyQuery getMappingQuery(CurrencyUnit currencyUnit,
                                                String targetNamespace);  }### Answer:
@Test public void testGetNamespaces() { Set<String> namespaces = CurrencyMappings.getNamespaces(); assertNotNull(namespaces); assertTrue(namespaces.contains("ISO-4217")); }
@Test public void testNamespacesString() { Set<String> ns = CurrencyMappings.getNamespaces("CHF"); assertNotNull(ns); assertFalse(ns.isEmpty()); assertTrue(ns.contains("ISO-4217")); }
@Test public void testNamespacesCurrencyUnit() { Set<String> ns = CurrencyMappings.getNamespaces(MonetaryCurrencies.getCurrency("GBP")); assertNotNull(ns); assertFalse(ns.isEmpty()); assertTrue(ns.contains("ISO-4217")); }