Exemplo n.º 1
0
 /**
  * @see TransactionEntity::setType()
  */
 public function testSetType2()
 {
     $rs = $this->object->setType(PaymentTypes::AUTHORIZATION_AND_CAPTURE);
     $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\TransactionEntity', $rs);
     $rs = $this->object->getType();
     $this->assertInternalType('string', $rs);
     $this->assertEquals(PaymentTypes::AUTHORIZATION_AND_CAPTURE, $rs);
 }