@Test
@SuppressWarnings("unchecked")
public void execute() throws Exception {

    Path structuredJson = Paths.get(folder.getRoot().getPath(), "structured.json");
    persister.execute();
    assertTrue(structuredJson.toFile().exists());
    ObjectMapper objectMapper = new ObjectMapper();
    Map<String, Object> myMap =
            objectMapper.readValue(Files.readAllBytes(structuredJson), HashMap.class);
    assertEquals(myMap.get("backupLocation"), fakeConfiguration.getBackupLocation());
}