@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()); }
private void addPropsToUserConfig() { userConfig.setProperty("key1", "userValue1"); userConfig.setProperty("key2", "userValue2"); }