MockitoAnnotations.initMocks(this);
instrumentErrorController();
}
private void instrumentErrorController() {
errorTarget = spy(new ErrorTarget());
when(controllerFactory.createController(eq(ErrorTarget.class), eq(beanManager))).thenReturn(errorTarget);
}