Exemplo n.º 1
0
 @Test
 public void testSubSubsetConfigurationClearProperty() throws Exception {
   userConfig.clear();
   userConfig.setProperty("subset.subset.A", "Value");
   assertTrue(subSubsetConfiguration.getKeys().hasNext());
   subSubsetConfiguration.clearProperty("A");
   assertFalse(subSubsetConfiguration.getKeys().hasNext());
   assertFalse(userConfig.getKeys().hasNext());
 }
Exemplo n.º 2
0
 @After
 public void tearDown() throws Exception {
   userConfig.clearProperty("key1");
   userConfig.clearProperty("key2");
   test.close();
 }