/** * * @param Edges $edges * @depends testEmpty * @expectedException UnderflowException */ public function testEmptyDoesNotHaveLast(Edges $edges) { $edges->getEdgeLast(); }