public async Task DeleteTemplateAsync_ValidParameters_ExpectedClientCall()
        {
            IANSSafeDNSClient client = Substitute.For <IANSSafeDNSClient>();

            var ops = new TemplateOperations <Template>(client);
            await ops.DeleteTemplateAsync(123);

            await client.Received().DeleteAsync("/safedns/v1/templates/123");
        }
 public async Task DeleteTemplateAsync_InvalidTemplateID_ThrowsANSClientValidationException()
 {
     var ops = new TemplateOperations <Template>(null);
     await Assert.ThrowsExceptionAsync <ANSClientValidationException>(() => ops.DeleteTemplateAsync(0));
 }