### Question:
WebConfigurator extends XMLBean { public void addServlet(String name, String clazz) { this.addServlet(name, clazz, -1); } WebConfigurator(String path); void addContextParam(String name, String value, String description, INIT_PARAM append); void addFilterInitParam(String filterName, String param_name, String param_value); void addFilterInitParam(String filterName, String name, String value, String description,
			INIT_PARAM append); void addInitParam(String servletName, String name, String value, String description,
			INIT_PARAM append); void addListenerInitParam(String listenerClazz, String name, String value, INIT_PARAM append); void addInitParam(String servletName, String name, String value, String description); void addServlet(String name, String clazz); @SuppressWarnings("unchecked") void addServlet(String name, String clazz, int loadOnStartup); @SuppressWarnings("unchecked") void addFilter(String name, String clazz); @SuppressWarnings("unchecked") void addListener(String clazz); @SuppressWarnings("unchecked") void addServletMapping(String servlet, String pattern); @SuppressWarnings("unchecked") void addFilterMapping(String filter, String pattern); void setDisplayName(String displayName); String getDisplayName(); void setDescription(String description); @SuppressWarnings("rawtypes") boolean setTransportGuarantee(String policy);  }### Answer:
@Test public void testAddServlet() { WebConfigurator config = new WebConfigurator(webXml.getPath()); config.addServlet("DocumentsData", "pippo"); }