/** * @covers Fuel\Common\Arr::previousByKey * @expectedException \InvalidArgumentException * @group Common */ public function testPreviousByKeyException() { Arr::previousByKey('not-an-array', 'key'); }