assertNotNull($obj); $this->assertNotNull($obj->getField()); $this->assertNotNull($obj->getIssue()); $this->assertNotNull($obj->getPurchaseUnitReferenceId()); $this->assertNotNull($obj->getCode()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param ErrorDetails $obj */ public function testGetters($obj) { $this->assertEquals($obj->getField(), "TestSample"); $this->assertEquals($obj->getIssue(), "TestSample"); $this->assertEquals($obj->getPurchaseUnitReferenceId(), "TestSample"); $this->assertEquals($obj->getCode(), "TestSample"); } }