request.setMethod("PUT");
ModelAndView model = testHelper.handleURI("/my/uri", mockRequest, new HashMap<String, String>());
assertEquals(Boolean.TRUE, model.getModelMap().get("success"));
Operation op = getLastEntered();
assertEquals("MyClass#gettinAction", op.getLabel());
SourceCodeLocation sourceCode = op.getSourceCodeLocation();
assertEquals("my.controller.MyClass", sourceCode.getClassName());
assertEquals("gettinAction", sourceCode.getMethodName());
assertEquals(1, sourceCode.getLineNumber());
assertEquals("param1", op.get("actionParams", OperationList.class).get(0, OperationMap.class).get("key"));
assertEquals("/my/uri", op.get("requestUri"));
assertEquals("PUT", op.get("requestMethod"));
}