Continent asia = new AsiaticContinent();
hive.directory().insertPrimaryIndexKey(asia.getName());
hive.directory().insertPrimaryIndexKey(report.getContinent());
interceptor.postFlush(Arrays.asList(new Object[]{report,asia}).iterator());
assertTrue(hive.directory().doesResourceIdExist("WeatherReport", report.getReportId()));
assertTrue(hive.directory().doesResourceIdExist("Temperature", report.getTemperature()));
assertTrue(hive.directory().doesPrimaryIndexKeyExist(asia.getName()));
assertTrue(hive.directory().doesSecondaryIndexKeyExist("Continent", "population", asia.getPopulation(), asia.getName()));