Ejemplo n.º 1
0
 public function testLocationToStringReturnsHeaderFormattedString()
 {
     $this->markTestIncomplete('Location needs to be completed');
     $locationHeader = new Location();
     // @todo set some values, then test output
     $this->assertEmpty('Location: xxx', $locationHeader->toString());
 }
Ejemplo n.º 2
0
 public function testLocationToStringReturnsHeaderFormattedString()
 {
     $locationHeader = new Location();
     $locationHeader->setUri('http://www.example.com/path?query');
     $this->assertEquals('Location: http://www.example.com/path?query', $locationHeader->toString());
 }