/** * @covers Fuel\Common\Arr::insertBeforeValue * @expectedException \InvalidArgumentException * @group Common */ public function testInsertBeforeValueException() { $character = array("name" => "Jack", "surname" => "Reacher"); Arr::insertBeforeValue($character, array("initial" => "P."), "non-existing-value"); }