public void invokeContextCallback(FacesContext context, UIComponent target)
{
Object submittedValue = "Hello!";
ExceptionBean bean = EasyMock.createStrictMock(ExceptionBean.class);
bean.valueChangeListenerMe((ValueChangeEvent)EasyMock.anyObject());
EasyMock.expectLastCall().andThrow(new AbortProcessingException());
// Setup is finished need to activate the mock
EasyMock.replay(bean);
request.setAttribute("bean", bean);