assertNotNull($obj); $this->assertNotNull($obj->getId()); $this->assertNotNull($obj->getCardNumber()); $this->assertNotNull($obj->getIssuerId()); $this->assertNotNull($obj->getIssuerName()); $this->assertNotNull($obj->getImageKey()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PrivateLabelCard $obj */ public function testGetters($obj) { $this->assertEquals($obj->getId(), "TestSample"); $this->assertEquals($obj->getCardNumber(), "TestSample"); $this->assertEquals($obj->getIssuerId(), "TestSample"); $this->assertEquals($obj->getIssuerName(), "TestSample"); $this->assertEquals($obj->getImageKey(), "TestSample"); } }