@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);
}