Ejemplo n.º 1
0
 public function testLastModifiedToStringReturnsHeaderFormattedString()
 {
     $this->markTestIncomplete('LastModified needs to be completed');
     $lastModifiedHeader = new LastModified();
     // @todo set some values, then test output
     $this->assertEmpty('Last-Modified: xxx', $lastModifiedHeader->toString());
 }
Ejemplo n.º 2
0
 public function testLastModifiedToStringReturnsHeaderFormattedString()
 {
     $lastModifiedHeader = new LastModified();
     $lastModifiedHeader->setDate('Sun, 06 Nov 1994 08:49:37 GMT');
     $this->assertEquals('Last-Modified: Sun, 06 Nov 1994 08:49:37 GMT', $lastModifiedHeader->toString());
 }