@Test
void cannot_modify_visits_externally() {

    ArrayList<Location> visits = new ArrayList<>();
    visits.add(visit1);
    List<Location> routeVisits = new Route(vehicle, depot, visits).visits();
    assertThatExceptionOfType(UnsupportedOperationException.class)
            .isThrownBy(routeVisits::clear);
}