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