System.setProperty("org.apache.pluto.embedded.portletId", ExamplePortlet.NAME);
server = new Server(TEST_PORT);
WebAppContext webapp = new WebAppContext("src/test/webapp", "/" + CONTEXT_NAME);
webapp.setDefaultsDescriptor("/WEB-INF/jetty-pluto-web-default.xml");
ServletHolder portletServlet = new ServletHolder(new PortletServlet());
portletServlet.setInitParameter("portlet-name", ExamplePortlet.NAME);
portletServlet.setInitParameter("scratchdir", tmpDir.getAbsolutePath());
portletServlet.setInitOrder(1);
webapp.addServlet(portletServlet, "/PlutoInvoker/" + ExamplePortlet.NAME);
server.addHandler(webapp);