/** * @expectedException \Vernum\Exception\EmptyCollection */ public function testGetFirstException() { $collection = new Collection(); $collection->getFirst(); }