@Test
public void exceptionDuringAction() {

  RuntimeException e = new RuntimeException("foo");
  doThrow(e).when(hiveTableAction).checkAndApply(any(HiveRoad.class));
  Hive hive = Hive.builder().status(HiveStatus.builder().build()).build();
  Destinations destinations = Destinations.builder().hive(hive).build();
  HiveRoad road = HiveRoad.builder().name(ROAD_NAME).destinations(destinations).build();
  List<PatchOperation> operations = underTest.inspectModel(ROAD_NAME, road);
  assertThat(operations.size(), is(0));
}