Exemplo n.º 1
0
 /**
  * @see TransactionEntity::setPaymentMethod()
  * @dataProvider providerPaymentMethods
  */
 public function testSetPaymentMethod($paymentMethod)
 {
     $rs = $this->object->setPaymentMethod($paymentMethod);
     $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\TransactionEntity', $rs);
     $rs = $this->object->getPaymentMethod();
     $this->assertInternalType('string', $rs);
     $this->assertEquals($paymentMethod, $rs);
 }