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()); }
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()); }