/** * Test that http() formats a timestamp to an HTTP format. */ public function testHttp() { $time = mktime(16, 35, 0, 2, 26, 1988); $this->assertEquals('Fri, 26 Feb 1988 16:35:00 GMT', Format::http($time)); }