@Test
public void testPersistGlobalConfiguration_shouldCreateFileIfNoneExists() throws Exception {

    FileUtils.forceDelete(storageFile);
    assertFalse(storageFile.exists());
    GlobalConfiguration conf = new GlobalConfiguration(new GlobalDeclaration("java.util.List", "list"));
    service.persist(conf);
    assertTrue(storageFile.exists());
}