/** * @depends testSerializationDeserialization * @param PaymentHistory $obj */ public function testGetters($obj) { $this->assertEquals($obj->getPayments(), PaymentTest::getObject()); $this->assertEquals($obj->getCount(), 123); $this->assertEquals($obj->getNextId(), "TestSample"); }
public function testGetterSetters() { $this->assertEquals(self::$count, $this->history->getCount()); $this->assertEquals(self::$nextId, $this->history->getNextId()); }