示例#1
0
 private function passengerRemove(Passenger $passenger)
 {
     $id = $passenger->getId();
     Passenger::removePassenger($passenger);
     $this->init->em->remove($passenger);
     $this->init->em->flush();
     $this->assertEquals(null, $this->init->passengerRepo->find($id));
 }