@Test
public void tableExistsAndSchemaNotChanged() {

  when(hiveTableManager.tableExists(ROAD_NAME)).thenReturn(true);
  when(hiveTableManager.getSchemaVersion(ROAD_NAME)).thenReturn(1);
  HiveRoad road = HiveRoad
      .builder()
      .name(ROAD_NAME)
      .schemas(schemas(schemaVersion1))
      .destinations(destinations)
      .status(status)
      .build();
  List<PatchOperation> result = underTest.checkAndApply(road);
  List<PatchOperation> patches = Collections.emptyList();
  assertThat(result, is(patches));
  verifyNoMoreInteractions(notificationHandler);
}