-
Bug
-
Resolution: Done
-
Major
-
2.14.0.Final
-
None
Having:
@Inject Configuration config; @Inject @Subset("subset.subset") private Configuration subSubsetConfiguration;
The following test should pass:
@Test public void testSubSubsetConfigurationClearProperty() throws Exception { configuration.clear(); configuration.setProperty("subset.subset.A", "Value"); assertTrue(subSubsetConfiguration.getKeys().hasNext()); subSubsetConfiguration.clearProperty("A"); assertFalse(subSubsetConfiguration.getKeys().hasNext()); assertFalse(configuration.getKeys().hasNext()); }