protected function onRss(Rss $rss) { $item = $rss->current(); $this->testCase->assertEquals('Star City', $item->getTitle()); $this->testCase->assertEquals('http://liftoff.msfc.nasa.gov/2003/06/03.html#item573', $item->getGuid()); $this->testCase->assertEquals('2003-06-03 09:39:21', $item->getPubDate()->format('Y-m-d H:i:s')); $this->testCase->assertEquals('foobar', $item->getDescription()); }