private MockHttpServletResponse res;
private Throwable exception;
public void setUp() throws Exception {
factoryCreatedService = new MockRenderableStandardService();
factoryCreatedService._getComponent().init(MockUtil.getEnv());
factory = new ExceptionHandlerFactory() {
public Service buildExceptionHandler(Throwable e, Environment environment) {
StandardExceptionHandlingFilterServiceTests.this.exception = e;
factoryCreatedService = new MockRenderableStandardService();
return factoryCreatedService;
}
};
service = new StandardCriticalExceptionHandlingFilterService();