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