public async Task DeleteDomainAsync_ValidParameters_ExpectedClientCall()
        {
            var ops = new DomainOperations <Domain>(_client);
            await ops.DeleteDomainAsync("test-domain.co.uk");

            await _client.Received().DeleteAsync("/ddosx/v1/domains/test-domain.co.uk");
        }
 public async Task DeleteDomainAsync_InvalidDomainName_ThrowsUKFastClientValidationException()
 {
     var ops = new DomainOperations <Domain>(null);
     await Assert.ThrowsExceptionAsync <UKFastClientValidationException>(() => ops.DeleteDomainAsync(""));
 }