beans.put("handler3", this.handler3);
beans.put("handler2", this.handler2);
beans.put("handler1", this.handler1);
given(applicationContext.getBeansOfType(ExceptionHandler.class, true, true)).willReturn(beans);
support.setApplicationContext(applicationContext);
support.onApplicationEvent(new ContextRefreshedEvent(applicationContext));
this.exceptionHandler = (SpringFacesExceptionHandler) support.newWrapper(ExceptionHandler.class, this.wrapped);
}