public function testFirstOnEmptyCollection() { $this->setExpectedException('Pheasant\\NotFoundException'); Animal::find('name=?', 'Dodo')->first(); }