コード例 #1
0
ファイル: LocationTest.php プロジェクト: bradley-holt/zf2
 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());
 }
コード例 #2
0
ファイル: LocationTest.php プロジェクト: pnaq57/zf2demo
 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());
 }