/** * @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())); }