test_class.file: optaweb-vehicle-routing-backend/src/test/java/org/optaweb/vehiclerouting/plugin/planner/domain/PlanningVehicleFactoryTest.java
test_class.identifier: PlanningVehicleFactoryTest
test_case.body: @Test
      void planning_vehicle() {
          long vehicleId = 2;
          String name = "not used";
          int capacity = 7;
          Vehicle domainVehicle = VehicleFactory.createVehicle(vehicleId, name, capacity);
  
          PlanningVehicle vehicle = fromDomain(domainVehicle);
  
          assertThat(vehicle.getId()).isEqualTo(vehicleId);
          assertThat(vehicle.getCapacity()).isEqualTo(capacity);
      }
test_case.class_method_signature: PlanningVehicleFactoryTest.planning_vehicle()
test_case.full_signature: @Test void planning_vehicle()
test_case.identifier: planning_vehicle
test_case.invocations: createVehicle fromDomain isEqualTo assertThat getId isEqualTo assertThat getCapacity
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void planning_vehicle()
focal_class.file: optaweb-vehicle-routing-backend/src/main/java/org/optaweb/vehiclerouting/plugin/planner/domain/PlanningVehicleFactory.java
focal_class.identifier: PlanningVehicleFactory
focal_class.class_method_signature: PlanningVehicleFactory.PlanningVehicleFactory()
focal_class.full_signature: private  PlanningVehicleFactory()
focal_class.identifier: PlanningVehicleFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PlanningVehicleFactory()
focal_class.class_method_signature: PlanningVehicleFactory.fromDomain(Vehicle domainVehicle)
focal_class.full_signature: public static PlanningVehicle fromDomain(Vehicle domainVehicle)
focal_class.identifier: fromDomain
focal_class.modifiers: public static
focal_class.parameters: (Vehicle domainVehicle)
focal_class.return: PlanningVehicle
focal_class.signature: PlanningVehicle fromDomain(Vehicle domainVehicle)
focal_class.class_method_signature: PlanningVehicleFactory.testVehicle(long id)
focal_class.full_signature: public static PlanningVehicle testVehicle(long id)
focal_class.identifier: testVehicle
focal_class.modifiers: public static
focal_class.parameters: (long id)
focal_class.return: PlanningVehicle
focal_class.signature: PlanningVehicle testVehicle(long id)
focal_class.class_method_signature: PlanningVehicleFactory.testVehicle(long id, int capacity)
focal_class.full_signature: public static PlanningVehicle testVehicle(long id, int capacity)
focal_class.identifier: testVehicle
focal_class.modifiers: public static
focal_class.parameters: (long id, int capacity)
focal_class.return: PlanningVehicle
focal_class.signature: PlanningVehicle testVehicle(long id, int capacity)
focal_class.class_method_signature: PlanningVehicleFactory.vehicle(long id, int capacity)
focal_class.full_signature: private static PlanningVehicle vehicle(long id, int capacity)
focal_class.identifier: vehicle
focal_class.modifiers: private static
focal_class.parameters: (long id, int capacity)
focal_class.return: PlanningVehicle
focal_class.signature: PlanningVehicle vehicle(long id, int capacity)
focal_method.body: public static PlanningVehicle fromDomain(Vehicle domainVehicle) {
          return vehicle(domainVehicle.id(), domainVehicle.capacity());
      }
focal_method.class_method_signature: PlanningVehicleFactory.fromDomain(Vehicle domainVehicle)
focal_method.full_signature: public static PlanningVehicle fromDomain(Vehicle domainVehicle)
focal_method.identifier: fromDomain
focal_method.invocations: vehicle id capacity
focal_method.modifiers: public static
focal_method.parameters: (Vehicle domainVehicle)
focal_method.return: PlanningVehicle
focal_method.signature: PlanningVehicle fromDomain(Vehicle domainVehicle)