try {
String rootPublisherStr = AppConfig.getConfiguration().getString(Property.JUDDI_ROOT_PUBLISHER);
authInfo = TckSecurity.getAuthToken(security, rootPublisherStr, "");
logger.debug("Delete publisher: " + publisherId);
//Now deleting this publisher
DeletePublisher dp = new DeletePublisher();
dp.setAuthInfo(authInfo);
dp.getPublisherId().add(publisherId);
publisher.deletePublisher(dp);
logger.info("Querying for publisher: " + publisherId + " after deletion.");
//Querying for this publisher to make sure it's really gone
//We're expecting a invalid Key exception at this point.