public void AsyncGetTasksReturnsAllPages()
        {
            var repository = new TenantRepository(new OctopusAsyncRepository(AsyncClient));

            Assert.ThrowsAsync <OperationNotSupportedByOctopusServerException>(
                async() => await repository.CreateOrModify("My Tenant", "Tenant Description"),
                "Tenant Descriptions requires Octopus version 2019.8.0 or newer.");
            Assert.ThrowsAsync <OperationNotSupportedByOctopusServerException>(
                async() => await repository.CreateOrModify("My Tenant", "Tenant Description", "Tenant-123"),
                "Cloning Tenants requires Octopus version 2019.8.0 or newer.");
        }