/** * @see BillingAddressEntity::setState() */ public function testSetState() { $state = 'state_' . rand(1, 9); $rs = $this->object->setState($state); $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\BillingAddressEntity', $rs); $rs = $this->object->getState(); $this->assertInternalType('string', $rs); $this->assertEquals($state, $rs); }