Beispiel #1
0
 private function vehicleRemove(Vehicle $vehicle)
 {
     $id = $vehicle->getId();
     Vehicle::removeVehicle($vehicle);
     $this->init->vehicleRepo->remove($vehicle);
     $this->init->em->flush();
     $this->assertEquals(null, $this->init->vehicleRepo->find($id));
 }