* @param bean the ActionBean to test to see if getContext() works correctly
* @throws StripesServletException if getContext() returns null
*/
protected void assertGetContextWorks(final ActionBean bean) throws StripesServletException {
if (bean.getContext() == null) {
throw new StripesServletException("Ahem. Stripes has just resolved and instantiated " +
"the ActionBean class " + bean.getClass().getName() + " and set the ActionBeanContext " +
"on it. However calling getContext() isn't returning the context back! Since " +
"this is required for several parts of Stripes to function correctly you should " +
"now stop and implement setContext()/getContext() correctly. Thank you.");
}