assertNotNull($obj); $this->assertNotNull($obj->getBrandName()); $this->assertNotNull($obj->getLogoImage()); $this->assertNotNull($obj->getLocaleCode()); $this->assertNotNull($obj->getReturnUrlLabel()); $this->assertNotNull($obj->getNoteToSellerLabel()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param Presentation $obj */ public function testGetters($obj) { $this->assertEquals($obj->getBrandName(), "TestSample"); $this->assertEquals($obj->getLogoImage(), "TestSample"); $this->assertEquals($obj->getLocaleCode(), "TestSample"); $this->assertEquals($obj->getReturnUrlLabel(), "TestSample"); $this->assertEquals($obj->getNoteToSellerLabel(), "TestSample"); } }