@Test
public void createRoad() throws Exception {

  HiveDestination hive = new HiveDestination();
  hive.setEnabled(true);
  hive.setLandingInterval(HiveDestination.DEFAULT_LANDING_INTERVAL);
  road.setDestinations(singletonMap("hive", hive));
  road.getAuthorisation().getOnramp().setCidrBlocks(singletonList("0.0.0.0/0"));
  BasicRoadModel model = new BasicRoadModel(road.getName(), road.getDescription(), road.getTeamName(),
      road.getContactEmail(), road.isEnabled(), road.getPartitionPath(), road.getAuthorisation(), road.getMetadata());
  underTest.createRoad(model);
  ArgumentCaptor<Road> captor = ArgumentCaptor.forClass(Road.class);
  verify(roadAdminClient).createRoad(captor.capture());
  Road createdRoad = captor.getValue();
  assertThat(createdRoad.getCompatibilityMode(), is(Road.DEFAULT_COMPATIBILITY_MODE));
  assertThat(createdRoad, is(road));
  verify(notificationHandler).handleRoadCreated(road);
}