assertTrue("Caught ServletException", why instanceof ServletException);
assertTrue("Wanted base-path", why.getMessage().contains("base-path"));
}
public void testInitUnderContainer_WithBasePath() throws Exception {
server = new AppServer();
ServletContextHandler app = server.addContext("/");
ServletHolder s = app.addServlet(GitServlet.class, "/git");
s.setInitOrder(1);
s.setInitParameter("base-path", ".");