private function readTransacao(Transaction $transaction) { $transaction->setTid($this->getValue('//c:transacao/c:tid')); $transaction->setPan($this->getValue('//c:transacao/c:pan')); $transaction->setStatus($this->getValue('//c:transacao/c:status')); $transaction->setAuthenticationURL($this->getValue('//c:transacao/c:url-autenticacao')); }
/** * @test */ public function getTid() { $this->transaction->setTid('10017348980735271001'); $this->assertEquals('10017348980735271001', $this->transaction->getTid()); }