Пример #1
0
 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());
 }
Пример #2
0
 public function testEmptyAtInitialization()
 {
     $o = new HttpResponseA_underTest_setLocation();
     $this->assertNull($o->getLocation());
 }