expect(request.getApplicationContext()).andReturn(applicationContext);
expect(request.getContext("request")).andReturn(requestScope).anyTimes();
expect(container.getAttributeContext(request)).andReturn(attributeContext);
expect(attributeContext.getAttribute("myName")).andReturn(attribute);
expect(container.evaluate(attribute, request)).andThrow(new RuntimeException());
replay(container, attributeContext, request, applicationContext);
model.execute("myName", "request", null, true, request);
verify(container, attributeContext, request, applicationContext);
}