Exemplo n.º 1
0
 /**
  * @see TransactionEntity::setCookie()
  */
 public function testSetCookie()
 {
     $cookie = 'cookie-value-' . rand(100, 1000);
     $rs = $this->object->setCookie($cookie);
     $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\TransactionEntity', $rs);
     $rs = $this->object->getCookie();
     $this->assertInternalType('string', $rs);
     $this->assertEquals($cookie, $rs);
 }