### Question:
DatasetTypeHandler extends AbstractHttpHandler { @DELETE @Path("/data/modules") public void deleteModules(HttpRequest request, HttpResponder responder, @PathParam("namespace-id") String namespaceId) throws Exception { typeService.deleteAll(new NamespaceId(namespaceId)); responder.sendStatus(HttpResponseStatus.OK); } @Inject  DatasetTypeHandler(DatasetTypeService typeService); @Override void init(HandlerContext context); @Override void destroy(HandlerContext context); @GET @Path("/data/modules") void listModules(HttpRequest request, HttpResponder responder,
                          @PathParam("namespace-id") String namespaceId); @DELETE @Path("/data/modules") void deleteModules(HttpRequest request, HttpResponder responder,
                            @PathParam("namespace-id") String namespaceId); @PUT @Path("/data/modules/{name}") @AuditPolicy(AuditDetail.HEADERS) BodyConsumer addModule(HttpRequest request, HttpResponder responder,
                                @PathParam("namespace-id") String namespaceId, @PathParam("name") final String name,
                                @QueryParam("force") final boolean forceUpdate,
                                @HeaderParam(HEADER_CLASS_NAME) final String className); @DELETE @Path("/data/modules/{name}") void deleteModule(HttpRequest request, HttpResponder responder,
                           @PathParam("namespace-id") String namespaceId,
                           @PathParam("name") String name); @GET @Path("/data/modules/{name}") void getModuleInfo(HttpRequest request, HttpResponder responder,
                            @PathParam("namespace-id") String namespaceId,
                            @PathParam("name") String name); @GET @Path("/data/types") void listTypes(HttpRequest request, HttpResponder responder,
                        @PathParam("namespace-id") String namespaceId); @GET @Path("/data/types/{name}") void getTypeInfo(HttpRequest request, HttpResponder responder,
                          @PathParam("namespace-id") String namespaceId,
                          @PathParam("name") String name);  }### Answer:
@Test public void testBundledJarModule() throws Exception { Location module1Jar = createModuleJar(TestModule1.class); Assert.assertEquals(200, deployModuleBundled("module1", TestModule1.class.getName(), TestModule2.class, module1Jar)); Assert.assertEquals(HttpStatus.SC_OK, deleteModules().getResponseCode()); List<DatasetModuleMeta> modules = getModules().getResponseObject(); Assert.assertEquals(0, modules.size()); }