@Test
public void testRemovingConfiguration_shouldDeleteFile() throws Exception {

    File configFileThatShouldBeDeleted = new File(temporaryFolder.getRoot(), "context3.context");
    persistenceService.remove(getMetaDataWithContextId("context3"));
    assertThat(configFileThatShouldBeDeleted.exists(), is(false));
}