public function testIsOrderCompletedFalse() { $this->transaction = new Transaction(14); $em = $this->manager->getEntityManager(); $em->persist($this->transaction); $em->flush(); $this->assertFalse($this->manager->isOrderCompleted(14)); }
public function tearDown() { $this->manager->getEntityManager()->remove($this->transaction); $this->manager->getEntityManager()->flush(); $this->transaction = null; $this->listener = null; $this->dispatcher = null; }
public function tearDown() { $this->manager->getEntityManager()->remove($this->transaction); $this->manager->getEntityManager()->flush(); $this->transaction = null; $this->subscriber = null; $this->manager = null; $this->eventManager = null; }
public function tearDown() { if ($this->transaction instanceof Transaction) { $this->manager->getEntityManager()->remove($this->transaction); $this->manager->getEntityManager()->flush(); } $this->transaction = null; $this->manager = null; $this->client = null; }