@Test
public void testSaveExpectedIds() throws Exception {

	Map<String, Map<String, String>> expectedIds = JSONUtils.readValue(
			getClass().getResourceAsStream("FilePersister_ExpectedIds.json"),
			new TypeReference<Map<String, Map<String, String>>>() {
			});
	persister.saveExpectedIds(expectedIds);
	File file = new File(BASE_DIRECTORY, "currentExpectedIds.json");
	assertThat(file.exists(), is(true));
	Map<String, Map<String, String>> savedIds = JSONUtils.readValue(file,
			new TypeReference<Map<String, Map<String, String>>>() {
			});
	assertThat(savedIds, is(expectedIds));
}