@Test
public void testRemoveConfigExtension() {

    final Map<String, String> expectResultsForIds = new LinkedHashMap<>();
    expectResultsForIds.put("test.config", "test");
    expectResultsForIds.put("test.properties", "test");
    expectResultsForIds.put("test.jar", "test.jar");
    expectResultsForIds.put("test.zip", "test.zip");
    for (Map.Entry<String, String> entry : expectResultsForIds.entrySet()) {
        assertEquals("expect result for id: " + entry.getKey(), entry.getValue(),
                DefaultSlingSimulator.removeConfigExtension(entry.getKey()));
    }
}