CustomEditorsServlet customEditorsServlet = new CustomEditorsServlet();
customEditorsServlet.setProfile(profile);
customEditorsServlet.init(new TestServletConfig(new TestServletContext(repository)));
TestHttpServletResponse response = new TestHttpServletResponse();
customEditorsServlet.doPost(new TestHttpServletRequest(params), response);
String responseText = new String(response.getContent());
assertNotNull(responseText);
assertEquals("custom editors content", responseText);
Collection<Asset> dictionary = repository.listAssets("/global", new FilterByExtension("json"));
assertNotNull(dictionary);