Example #1
0
 /**
  * @see OrderEntity::setAccountId()
  */
 public function testSetAccountId()
 {
     $accountId = 'accountId_' . rand(1, 9) . rand(1, 9) . rand(1, 9);
     $rs = $this->object->setAccountId($accountId);
     $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\Order\\OrderEntity', $rs);
     $rs = $this->object->getAccountId();
     $this->assertInternalType('string', $rs);
     $this->assertEquals($accountId, $rs);
 }