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

            var ops = new ZoneRecordOperations <Record>(client);
            await ops.DeleteRecordAsync("example.com", 123);

            await client.Received().DeleteAsync("/safedns/v1/zones/example.com/records/123");
        }
 public async Task DeleteZoneRecordAsync_InvalidRecordID_ThrowsANSClientValidationException()
 {
     var ops = new ZoneRecordOperations <Record>(null);
     await Assert.ThrowsExceptionAsync <ANSClientValidationException>(() => ops.DeleteRecordAsync("example.com", 0));
 }