assertNotNull($obj); $this->assertNotNull($obj->getEmail()); $this->assertNotNull($obj->getExternalRememberMeId()); $this->assertNotNull($obj->getBuyerAccountNumber()); $this->assertNotNull($obj->getSalutation()); $this->assertNotNull($obj->getFirstName()); $this->assertNotNull($obj->getMiddleName()); $this->assertNotNull($obj->getLastName()); $this->assertNotNull($obj->getSuffix()); $this->assertNotNull($obj->getPayerId()); $this->assertNotNull($obj->getPhone()); $this->assertNotNull($obj->getPhoneType()); $this->assertNotNull($obj->getBirthDate()); $this->assertNotNull($obj->getTaxId()); $this->assertNotNull($obj->getTaxIdType()); $this->assertNotNull($obj->getCountryCode()); $this->assertNotNull($obj->getBillingAddress()); $this->assertNotNull($obj->getShippingAddress()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PayerInfo $obj */ public function testGetters($obj) { $this->assertEquals($obj->getEmail(), "TestSample"); $this->assertEquals($obj->getExternalRememberMeId(), "TestSample"); $this->assertEquals($obj->getBuyerAccountNumber(), "TestSample"); $this->assertEquals($obj->getSalutation(), "TestSample"); $this->assertEquals($obj->getFirstName(), "TestSample"); $this->assertEquals($obj->getMiddleName(), "TestSample"); $this->assertEquals($obj->getLastName(), "TestSample"); $this->assertEquals($obj->getSuffix(), "TestSample"); $this->assertEquals($obj->getPayerId(), "TestSample"); $this->assertEquals($obj->getPhone(), "TestSample"); $this->assertEquals($obj->getPhoneType(), "TestSample"); $this->assertEquals($obj->getBirthDate(), "TestSample"); $this->assertEquals($obj->getTaxId(), "TestSample"); $this->assertEquals($obj->getTaxIdType(), "TestSample"); $this->assertEquals($obj->getCountryCode(), "TestSample"); $this->assertEquals($obj->getBillingAddress(), AddressTest::getObject()); $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject()); } }