assertNotNull($obj); $this->assertNotNull($obj->getTermType()); $this->assertNotNull($obj->getDueDate()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PaymentTerm $obj */ public function testGetters($obj) { $this->assertEquals($obj->getTermType(), "TestSample"); $this->assertEquals($obj->getDueDate(), "TestSample"); } }