params.put("action", "install");
JbpmServiceRepositoryServlet jbpmServiceRepositoryServlet = new JbpmServiceRepositoryServlet();
jbpmServiceRepositoryServlet.setProfile(profile);
jbpmServiceRepositoryServlet.init(new TestServletConfig(new TestServletContext(repository)));
jbpmServiceRepositoryServlet.doPost(new TestHttpServletRequest(params), new TestHttpServletResponse());
Collection<Asset> serviceAssets = repository.listAssets("/global");
assertNotNull(serviceAssets);