use of org.apache.sling.caconfig.management.ConfigurationCollectionData in project sling by apache.
the class ConfigurationManagerImplTest method testDeleteConfigurationCollection.
@Test
public void testDeleteConfigurationCollection() throws Exception {
underTest.deleteConfiguration(contextResource, CONFIG_COL_NAME);
ConfigurationCollectionData configCollectionData = underTest.getConfigurationCollection(contextResource, CONFIG_COL_NAME);
List<ConfigurationData> configDatas = ImmutableList.copyOf(configCollectionData.getItems());
assertEquals(0, configDatas.size());
}
Aggregations