public function testUpdateObject()
 {
     $this->transaction = new Transaction(15);
     $this->transaction->setDsCurrency(978);
     $this->manager->update($this->transaction);
     $recover = $this->manager->find(15);
     $this->assertEquals($recover->getDsCurrency(), 978);
 }
 public function testPostTransaction()
 {
     $this->subscriber->expects($this->once())->method('postPersist');
     $this->transaction->setDsResponse('9999');
     $this->manager->update($this->transaction);
 }