Delete() public method

Delete an existing Tag
public Delete ( string tagName ) : System.Threading.Tasks.Task
tagName string
return System.Threading.Tasks.Task
        public void CorrectRequestForDelete() {
            var factory = Substitute.For<IConnection>();
            var client = new TagsClient(factory);

            client.Delete("notarealtag");

            var parameters = Arg.Is<List<Parameter>>(list => (string)list[0].Value == "notarealtag");
            factory.Received().ExecuteRaw("tags/{name}", parameters, null, Method.DELETE);
        }