MockHttpSession session = new MockHttpSession();
MockHttpServletRequest request = new MockHttpServletRequest();
request.setSession(session);
request.setParameter(mockConversationName, mockConversationId);
HttpConversationContextManagerProvider managerProvider = new DefaultHttpConversationContextManagerProvider();
managerProvider.setConversationContextFactory(new DefaultConversationContextFactory());
managerProvider.setMonitoringFrequency(1L);
managerProvider.init();
MockConversationAdapter.init(request, managerProvider);
ConversationContext context = ConversationUtil.begin(mockConversationName, 50L);
context.addTimeoutListener(this);