public void initMockStuff() throws ServiceException, ServletException {
mockServlet = new VaadinServlet();
mockServlet.init(new MockServletConfig());
mockDeploymentConfiguration = new MockDeploymentConfiguration();
mockService = new VaadinServletService(mockServlet,
mockDeploymentConfiguration);
mockSession = new AlwaysLockedVaadinSession(mockService);
vaadinRequest = new VaadinServletRequest(