title); $first_item = $rss->getFirst(); self::assertNotNull($first_item); self::assertEquals('RSS Tutorial', $first_item->title); } public function testRssNotFound() { $this->expectException(SRSSException::class); $rss = SRSS::read('not_found.xml'); } }