/**
  * @return FullAddress
  */
 public function testGet()
 {
     $request = $this->operation['response']['body'];
     $fullAddress = new FullAddress($request);
     $result = FullAddress::get($fullAddress->getAddress(), array(), $this->apiContext, $this->mockBlockCypherRestCall);
     $this->assertNotNull($result);
     $this->assertInstanceOf('\\BlockCypher\\Api\\FullAddress', $result);
     // Assert only immutable values.
     $this->assertEquals($fullAddress->getAddress(), $result->getAddress());
     return $result;
 }
 /**
  * @depends testSerializationDeserialization
  * @param FullAddress $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAddress(), "1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD");
     $this->assertEquals($obj->getTotalReceived(), 4433416);
     $this->assertEquals($obj->getTotalSent(), 0);
     $this->assertEquals($obj->getBalance(), 4433416);
     $this->assertEquals($obj->getUnconfirmedBalance(), 0);
     $this->assertEquals($obj->getFinalBalance(), 0);
     $this->assertEquals($obj->getNTx(), 7);
     $this->assertEquals($obj->getUnconfirmedNTx(), 0);
     $this->assertEquals($obj->getFinalNTx(), 7);
     $this->assertEquals($obj->getTxs(), array(TXTest::getObject()));
 }