assert "foo".equals(result);
FacesMessages.afterPhase();
FacesMessages.instance().beforeRenderResponse();
assert !FacesContext.getCurrentInstance().getMessages().hasNext();
result = (String) vi.aroundInvoke( new MockInvocationContext() {
@Override
public Method getMethod()
{
return InterceptorTest.getMethod("bar");
}