public function testSetGetLocation() { $state = new HttpResponseA_underTest_setLocation(); $this->assertNull($state->getLocation()); $sLocation = '/'; $state->setLocation($sLocation); $this->assertEquals($sLocation, $state->getLocation()); $testValue = 'http://ana.are.mere'; $state->setLocation($testValue); $this->assertEquals($testValue, $state->getLocation()); }
public function testEmptyAtInitialization() { $o = new HttpResponseA_underTest_setLocation(); $this->assertNull($o->getLocation()); }