confirmSetup();
String fullForwardPath = this.request.getContextPath() + forwardPath;
String actualForward = getActualForward();
if (actualForward == null) {
throw new AssertionFailedError(
"Was expecting '" //$NON-NLS-1$
+ fullForwardPath
+ "' but it appears the Action has tried to return an ActionForward that is not mapped correctly."); //$NON-NLS-1$
}
if (!(actualForward.equals(fullForwardPath)))
throw new AssertionFailedError("was expecting '" + fullForwardPath //$NON-NLS-1$
+ "' but received '" + actualForward + "'"); //$NON-NLS-1$ //$NON-NLS-2$
}