protected internal override void Apply(IManagementClient managementClient) { _log.Info($"Deleting vhost '{Name}'"); var virtualHost = managementClient.GetVhost(Name); managementClient.DeleteVirtualHost(virtualHost); _log.Info($"Finished Deleting vhost '{Name}'"); }
public void Should_delete_a_virtual_host() { var vhost = managementClient.GetVhost(testVHost); managementClient.DeleteVirtualHost(vhost); }