Exemplo n.º 1
0
 /**
  * @see TransactionEntity::setDeviceSessionId()
  */
 public function testSetDeviceSessionId()
 {
     $deviceSessionId = md5(session_id() . microtime());
     $rs = $this->object->setDeviceSessionId($deviceSessionId);
     $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\TransactionEntity', $rs);
     $rs = $this->object->getDeviceSessionId();
     $this->assertInternalType('string', $rs);
     $this->assertEquals($deviceSessionId, $rs);
 }