@Test
 public void deleteFeatureType() throws Exception {
   String url =
       "/geoserver/rest/workspaces/topp/datastores/taz_shapes/featuretypes/tasmania_cities.xml";
   whenHttp(server)
       .match(delete(url))
       .then(stringContent(getResourceString("featuretypes.xml")), status(HttpStatus.OK_200));
   Geoserver geoserver = new Geoserver("http://00.0.0.0:8888/geoserver", "admin", "geoserver");
   FeatureTypeCommands commands = new FeatureTypeCommands();
   commands.setGeoserver(geoserver);
   boolean result = commands.delete("topp", "taz_shapes", "tasmania_cities", true);
   assertTrue(result);
   verifyHttp(server).once(method(Method.DELETE), uri(url));
 }