public function HeaderBagTest::testGetDate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/HeaderBagTest.php \Symfony\Component\HttpFoundation\Tests\HeaderBagTest::testGetDate()
File
- vendor/
symfony/ http-foundation/ Tests/ HeaderBagTest.php, line 46
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetDate() {
$bag = new HeaderBag(array(
'foo' => 'Tue, 4 Sep 2012 20:00:00 +0200',
));
$headerDate = $bag
->getDate('foo');
$this
->assertInstanceOf('DateTime', $headerDate);
}