ListDataServicesServlet extends BaseCartePlugin { public String getContextPath() { return CONTEXT_PATH; } ListDataServicesServlet( DataServiceClient client ); @Override void handleRequest( CarteRequest request ); String getContextPath(); static final String CONTEXT_PATH; static final String XML_TAG_SERVICES; static final String XML_TAG_SERVICE; }
@Test public void testGetContextPath() { assertEquals( CONTEXT_PATH, servlet.getContextPath() ); }