/**
  * @covers Application\Model\Merchant::removeTransaction
  */
 public function testRemoveTransaction()
 {
     $merchant = new Merchant();
     $transaction = new Transaction();
     $merchant->addTransaction($transaction);
     $this->assertEquals(1, $merchant->getTransactions()->count());
     $merchant->removeTransaction($transaction);
     $this->assertEquals(0, $merchant->getTransactions()->count());
 }
 /**
  * {@inheritDoc}
  */
 public function getTransactions()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTransactions', array());
     return parent::getTransactions();
 }