/** * Test that rss() formats a timestamp to an RSS feed format. */ public function testRss() { $time = mktime(16, 35, 0, 2, 26, 1988); $this->assertEquals('Fri, 26 Feb 1988 16:35:00 +0000', Format::rss($time)); }