/** * @see ShippingAddressEntity::setPhone() */ public function testSetPhone() { $phone = rand(1, 9) . rand(1, 9) . rand(1, 9) . rand(1, 9) . rand(1, 9) . rand(1, 9) . rand(1, 9) . rand(1, 9); $rs = $this->object->setPhone($phone); $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\ShippingAddressEntity', $rs); $rs = $this->object->getPhone(); $this->assertInternalType('string', $rs); $this->assertEquals($phone, $rs); }