}
@Test
public void testOnSaveInsertReadOnlyFailure() throws Exception {
Hive hive = getHive();
ConfigurationReader reader = new ConfigurationReader(Continent.class, WeatherReport.class);
EntityHiveConfig config = reader.getHiveConfiguration();
HiveInterceptorDecorator interceptor = new HiveInterceptorDecorator(config, hive);
WeatherReport report = generateInstance();
hive.directory().insertPrimaryIndexKey(report.getContinent());
hive.updateHiveStatus(Lockable.Status.readOnly);