test_class.declarator: matrixRow = locationId -> Distance.ZERO
test_class.modifier: private final
test_class.original_string: private final DistanceMatrixRow matrixRow = locationId -> Distance.ZERO;
test_class.type: DistanceMatrixRow
test_class.var_name: matrixRow
test_class.declarator: location1 = new Location(1, Coordinates.valueOf(1.0, 0.1))
test_class.modifier: private final
test_class.original_string: private final Location location1 = new Location(1, Coordinates.valueOf(1.0, 0.1));
test_class.type: Location
test_class.var_name: location1
test_class.declarator: location2 = new Location(2, Coordinates.valueOf(0.2, 2.2))
test_class.modifier: private final
test_class.original_string: private final Location location2 = new Location(2, Coordinates.valueOf(0.2, 2.2));
test_class.type: Location
test_class.var_name: location2
test_class.declarator: location3 = new Location(3, Coordinates.valueOf(3.4, 5.6))
test_class.modifier: private final
test_class.original_string: private final Location location3 = new Location(3, Coordinates.valueOf(3.4, 5.6));
test_class.type: Location
test_class.var_name: location3
test_class.declarator: solutionArgumentCaptor
test_class.modifier: @Captor
      private
test_class.original_string: @Captor
      private ArgumentCaptor<VehicleRoutingSolution> solutionArgumentCaptor;
test_class.type: ArgumentCaptor<VehicleRoutingSolution>
test_class.var_name: solutionArgumentCaptor
test_class.declarator: vehicleArgumentCaptor
test_class.modifier: @Captor
      private
test_class.original_string: @Captor
      private ArgumentCaptor<PlanningVehicle> vehicleArgumentCaptor;
test_class.type: ArgumentCaptor<PlanningVehicle>
test_class.var_name: vehicleArgumentCaptor
test_class.declarator: solverManager
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SolverManager solverManager;
test_class.type: SolverManager
test_class.var_name: solverManager
test_class.declarator: routeChangedEventPublisher
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private RouteChangedEventPublisher routeChangedEventPublisher;
test_class.type: RouteChangedEventPublisher
test_class.var_name: routeChangedEventPublisher
test_class.declarator: routeOptimizer
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private RouteOptimizerImpl routeOptimizer;
test_class.type: RouteOptimizerImpl
test_class.var_name: routeOptimizer
test_class.file: optaweb-vehicle-routing-backend/src/test/java/org/optaweb/vehiclerouting/plugin/planner/RouteOptimizerImplTest.java
test_class.identifier: RouteOptimizerImplTest
test_case.body: @Test
      void removing_all_locations_should_not_fail_when_solver_is_not_solving() {
          assertThatCode(() -> routeOptimizer.removeAllLocations()).doesNotThrowAnyException();
      }
test_case.class_method_signature: RouteOptimizerImplTest.removing_all_locations_should_not_fail_when_solver_is_not_solving()
test_case.full_signature: @Test void removing_all_locations_should_not_fail_when_solver_is_not_solving()
test_case.identifier: removing_all_locations_should_not_fail_when_solver_is_not_solving
test_case.invocations: doesNotThrowAnyException assertThatCode removeAllLocations
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void removing_all_locations_should_not_fail_when_solver_is_not_solving()
focal_class.declarator: solverManager
focal_class.modifier: private final
focal_class.original_string: private final SolverManager solverManager;
focal_class.type: SolverManager
focal_class.var_name: solverManager
focal_class.declarator: routeChangedEventPublisher
focal_class.modifier: private final
focal_class.original_string: private final RouteChangedEventPublisher routeChangedEventPublisher;
focal_class.type: RouteChangedEventPublisher
focal_class.var_name: routeChangedEventPublisher
focal_class.declarator: vehicles = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<PlanningVehicle> vehicles = new ArrayList<>();
focal_class.type: List<PlanningVehicle>
focal_class.var_name: vehicles
focal_class.declarator: visits = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<PlanningVisit> visits = new ArrayList<>();
focal_class.type: List<PlanningVisit>
focal_class.var_name: visits
focal_class.declarator: depot
focal_class.modifier: private
focal_class.original_string: private PlanningDepot depot;
focal_class.type: PlanningDepot
focal_class.var_name: depot
focal_class.file: optaweb-vehicle-routing-backend/src/main/java/org/optaweb/vehiclerouting/plugin/planner/RouteOptimizerImpl.java
focal_class.identifier: RouteOptimizerImpl
focal_class.interfaces: implements RouteOptimizer
focal_class.class_method_signature: RouteOptimizerImpl.RouteOptimizerImpl(SolverManager solverManager, RouteChangedEventPublisher routeChangedEventPublisher)
focal_class.full_signature: @Autowired  RouteOptimizerImpl(SolverManager solverManager, RouteChangedEventPublisher routeChangedEventPublisher)
focal_class.identifier: RouteOptimizerImpl
focal_class.modifiers: @Autowired
focal_class.parameters: (SolverManager solverManager, RouteChangedEventPublisher routeChangedEventPublisher)
focal_class.signature:  RouteOptimizerImpl(SolverManager solverManager, RouteChangedEventPublisher routeChangedEventPublisher)
focal_class.class_method_signature: RouteOptimizerImpl.addLocation(Location domainLocation, DistanceMatrixRow distanceMatrixRow)
focal_class.full_signature: @Override public void addLocation(Location domainLocation, DistanceMatrixRow distanceMatrixRow)
focal_class.identifier: addLocation
focal_class.modifiers: @Override public
focal_class.parameters: (Location domainLocation, DistanceMatrixRow distanceMatrixRow)
focal_class.return: void
focal_class.signature: void addLocation(Location domainLocation, DistanceMatrixRow distanceMatrixRow)
focal_class.class_method_signature: RouteOptimizerImpl.removeLocation(Location domainLocation)
focal_class.full_signature: @Override public void removeLocation(Location domainLocation)
focal_class.identifier: removeLocation
focal_class.modifiers: @Override public
focal_class.parameters: (Location domainLocation)
focal_class.return: void
focal_class.signature: void removeLocation(Location domainLocation)
focal_class.class_method_signature: RouteOptimizerImpl.addVehicle(Vehicle domainVehicle)
focal_class.full_signature: @Override public void addVehicle(Vehicle domainVehicle)
focal_class.identifier: addVehicle
focal_class.modifiers: @Override public
focal_class.parameters: (Vehicle domainVehicle)
focal_class.return: void
focal_class.signature: void addVehicle(Vehicle domainVehicle)
focal_class.class_method_signature: RouteOptimizerImpl.removeVehicle(Vehicle domainVehicle)
focal_class.full_signature: @Override public void removeVehicle(Vehicle domainVehicle)
focal_class.identifier: removeVehicle
focal_class.modifiers: @Override public
focal_class.parameters: (Vehicle domainVehicle)
focal_class.return: void
focal_class.signature: void removeVehicle(Vehicle domainVehicle)
focal_class.class_method_signature: RouteOptimizerImpl.changeCapacity(Vehicle domainVehicle)
focal_class.full_signature: @Override public void changeCapacity(Vehicle domainVehicle)
focal_class.identifier: changeCapacity
focal_class.modifiers: @Override public
focal_class.parameters: (Vehicle domainVehicle)
focal_class.return: void
focal_class.signature: void changeCapacity(Vehicle domainVehicle)
focal_class.class_method_signature: RouteOptimizerImpl.removeAllLocations()
focal_class.full_signature: @Override public void removeAllLocations()
focal_class.identifier: removeAllLocations
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeAllLocations()
focal_class.class_method_signature: RouteOptimizerImpl.removeAllVehicles()
focal_class.full_signature: @Override public void removeAllVehicles()
focal_class.identifier: removeAllVehicles
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeAllVehicles()
focal_class.class_method_signature: RouteOptimizerImpl.publishSolution()
focal_class.full_signature: private void publishSolution()
focal_class.identifier: publishSolution
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void publishSolution()
focal_method.body: @Override
      public void removeAllLocations() {
          solverManager.stopSolver();
          depot = null;
          visits.clear();
          publishSolution();
      }
focal_method.class_method_signature: RouteOptimizerImpl.removeAllLocations()
focal_method.full_signature: @Override public void removeAllLocations()
focal_method.identifier: removeAllLocations
focal_method.invocations: stopSolver clear publishSolution
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void removeAllLocations()