/** * @see ShippingAddressEntity::setCountry() */ public function testSetCountry() { $country = 'country_' . rand(1, 9); $rs = $this->object->setCountry($country); $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\ShippingAddressEntity', $rs); $rs = $this->object->getCountry(); $this->assertInternalType('string', $rs); $this->assertEquals($country, $rs); }