/**
  * @return TXConfidence
  */
 public function testGet()
 {
     $request = $this->operation['response']['body'];
     $txConfidence = new TXConfidence($request);
     $result = TXConfidence::get($txConfidence->getTxhash(), array(), $this->apiContext, $this->mockBlockCypherRestCall);
     $this->assertNotNull($result);
     $this->assertInstanceOf('\\BlockCypher\\Api\\TXConfidence', $result);
     // Assert only immutable values.
     $this->assertEquals($txConfidence->getTxhash(), $result->getTxhash());
     return $result;
 }
 /**
  * @depends testSerializationDeserialization
  * @param TXConfidence $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAgeMillis(), 1082096894333054400);
     $this->assertEquals($obj->getReceiveCount(), -1);
     $this->assertEquals($obj->getConfidence(), 1);
     $this->assertEquals($obj->getTxhash(), "f854aebae95150b379cc1187d848d58225f3c4157fe992bcd166f58bd5063449");
     $this->assertEquals($obj->getTxurl(), "https://api.blockcypher.com/v1/btc/main/txs/f854aebae95150b379cc1187d848d58225f3c4157fe992bcd166f58bd5063449");
     $this->assertEquals($obj->getError(), "");
     $this->assertEquals($obj->getErrors(), array());
 }