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