replayMocks();
HttpSession wrappedSession = wrapperRequest.wrapSession(session);
assertTrue(wrappedSession instanceof StateProtectingHttpSession);
StateProtectingHttpSession moduleAwareSession = (StateProtectingHttpSession) wrappedSession;
final ClassLoader classLoader = ReflectionUtils.getFieldValue(moduleAwareSession, "moduleClassLoader", ClassLoader.class);
assertNotNull(classLoader);
final HttpSession storedSession = ReflectionUtils.getFieldValue(moduleAwareSession, "realSession", HttpSession.class);