* @since 1.6
*/
@SuppressWarnings("nls")
public void test_handleKeySet() {
ResourceBundle.clearCache();
hyts_resource_fr_FR bundle = (hyts_resource_fr_FR) ResourceBundle
.getBundle(
"tests.resources.subfolder.tests.resources.hyts_resource",
new Locale("fr", "FR"));
Set<String> set = bundle.handleKeySet();
assertEquals(4, set.size());
assertTrue(set.contains("subChild1"));
assertTrue(set.contains("subChild2"));
assertTrue(set.contains("subParent3"));
assertTrue(set.contains("subParent4"));
set = bundle.keySet();
assertEquals(6, set.size());
assertTrue(set.contains("subChild1"));
assertTrue(set.contains("subChild2"));
assertTrue(set.contains("subParent1"));
assertTrue(set.contains("subParent2"));