Пример #1
0
 /**
  * @depends testConstructor
  *
  * @param FinancialOperation $financialOperation
  */
 public function testGettersSetters(FinancialOperation $financialOperation)
 {
     $financialOperation->setAmount(2);
     $financialOperation->setCurrencyCode('USD');
     $financialOperation->setOperationTypeCode('operationtypecode2');
     $financialOperation->setMerchantOprId('merchantoprid2');
     $this->assertSame($financialOperation->getAmount(), 2);
     $this->assertSame($financialOperation->getCurrencyCode(), 'USD');
     $this->assertSame($financialOperation->getOperationTypeCode(), 'operationtypecode2');
     $this->assertSame($financialOperation->getMerchantOprId(), 'merchantoprid2');
 }