}
return super.resultMayReplaceExistingOne(actionResultClass);
}
};
resultsManager.register(new ServletRedirectResult()); // new
resultsManager.register(new ServletRedirectResult()); // ignore
resultsManager.register(new MyRedirect1()); // replace
assertNull(resultsManager.allResults.get(ServletRedirectResult.class));
assertEquals(MyRedirect1.class, resultsManager.stringResults.get("redirect").getClass());