示例#1
0
 public function testGetLastModified()
 {
     $lastModified = new \DateTime(null, new \DateTimeZone('GMT'));
     $lastModified->setTimestamp(1);
     $this->childResponse->setLastModified($lastModified);
     $this->assertEquals($lastModified, $this->childResponse->getLastModified());
 }