test_class.file: optaweb-vehicle-routing-backend/src/test/java/org/optaweb/vehiclerouting/plugin/planner/DistanceMapImplTest.java
test_class.identifier: DistanceMapImplTest
test_case.body: @Test
      void distance_map_should_return_value_from_distance_matrix_row() {
          PlanningLocation location2 = PlanningLocationFactory.testLocation(2);
          Distance distance = Distance.ofMillis(45000);
          DistanceMatrixRow matrixRow = locationId -> distance;
          DistanceMapImpl distanceMap = new DistanceMapImpl(matrixRow);
          assertThat(distanceMap.distanceTo(location2)).isEqualTo(distance.millis());
      }
test_case.class_method_signature: DistanceMapImplTest.distance_map_should_return_value_from_distance_matrix_row()
test_case.full_signature: @Test void distance_map_should_return_value_from_distance_matrix_row()
test_case.identifier: distance_map_should_return_value_from_distance_matrix_row
test_case.invocations: testLocation ofMillis isEqualTo assertThat distanceTo millis
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void distance_map_should_return_value_from_distance_matrix_row()
focal_class.declarator: distanceMatrixRow
focal_class.modifier: private final
focal_class.original_string: private final DistanceMatrixRow distanceMatrixRow;
focal_class.type: DistanceMatrixRow
focal_class.var_name: distanceMatrixRow
focal_class.file: optaweb-vehicle-routing-backend/src/main/java/org/optaweb/vehiclerouting/plugin/planner/DistanceMapImpl.java
focal_class.identifier: DistanceMapImpl
focal_class.interfaces: implements DistanceMap
focal_class.class_method_signature: DistanceMapImpl.DistanceMapImpl(DistanceMatrixRow distanceMatrixRow)
focal_class.full_signature: public  DistanceMapImpl(DistanceMatrixRow distanceMatrixRow)
focal_class.identifier: DistanceMapImpl
focal_class.modifiers: public
focal_class.parameters: (DistanceMatrixRow distanceMatrixRow)
focal_class.signature:  DistanceMapImpl(DistanceMatrixRow distanceMatrixRow)
focal_class.class_method_signature: DistanceMapImpl.distanceTo(PlanningLocation location)
focal_class.full_signature: @Override public long distanceTo(PlanningLocation location)
focal_class.identifier: distanceTo
focal_class.modifiers: @Override public
focal_class.parameters: (PlanningLocation location)
focal_class.return: long
focal_class.signature: long distanceTo(PlanningLocation location)
focal_method.body: @Override
      public long distanceTo(PlanningLocation location) {
          return distanceMatrixRow.distanceTo(location.getId()).millis();
      }
focal_method.class_method_signature: DistanceMapImpl.distanceTo(PlanningLocation location)
focal_method.full_signature: @Override public long distanceTo(PlanningLocation location)
focal_method.identifier: distanceTo
focal_method.invocations: millis distanceTo getId
focal_method.modifiers: @Override public
focal_method.parameters: (PlanningLocation location)
focal_method.return: long
focal_method.signature: long distanceTo(PlanningLocation location)