/** * @see BillingAddressEntity::setStreet2() */ public function testSetStreet2() { $street2 = 'street_' . rand(1, 9); $rs = $this->object->setStreet2($street2); $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\BillingAddressEntity', $rs); $rs = $this->object->getStreet2(); $this->assertInternalType('string', $rs); $this->assertEquals($street2, $rs); }