+ datastore.getName() + " / " + featureType.getName(), removed);
}
private void deleteCoverage(RESTLayer layer) {
RESTCoverage coverage = reader.getCoverage(layer);
RESTCoverageStore coverageStore = reader.getCoverageStore(coverage);
LOGGER.warn("Deleting Coverage " + coverageStore.getWorkspaceName() + " : "
+ coverageStore.getName() + " / " + coverage.getName());
boolean removed = publisher.unpublishCoverage(coverageStore.getWorkspaceName(),
coverageStore.getName(), coverage.getName());
assertTrue("Coverage not deleted " + coverageStore.getWorkspaceName() + " : "
+ coverageStore.getName() + " / " + coverage.getName(), removed);
}