requestScope.put(ComposeStackUtil.COMPOSE_STACK_ATTRIBUTE_NAME, composeStack);
requestScope.put(TilesAccess.CURRENT_CONTAINER_ATTRIBUTE_NAME, container);
ApplicationContext applicationContext = createMock(ApplicationContext.class);
ModelBody modelBody = createMock(ModelBody.class);
modelBody.evaluateWithoutWriting();
expect(request.getApplicationContext()).andReturn(applicationContext).times(2);
expect(request.getContext("request")).andReturn(requestScope).anyTimes();
expect(request.getWriter()).andReturn(writer);
container.prepare("myPreparer", request);
expect(resolver.computeAttribute(container, attribute, "myName", "myRole", false, "myDefaultValue",