request.setRequestURI("orders/list");
ServletContext context = webRequest.getServletContext();
GroovyClassLoader gcl = new GroovyClassLoader();
// create mock controller
GroovyObject controller = (GroovyObject)gcl.parseClass("class Test2Controller {\n" +
"def controllerName = 'test2'\n" +
"def actionUri = '/test2/testAction'\n" +
"}").newInstance();
request.setAttribute(GrailsApplicationAttributes.CONTROLLER, controller); GrailsLayoutDecoratorMapper m = new GrailsLayoutDecoratorMapper();