public async Task Should_unallocate_list_of_users()
        {
            var judgeUser = await Context.Data.SeedUser();

            await Context.Data.SeedAllocation(judgeUser.Id);

            await Context.Data.AllocateUser(judgeUser.Id);

            var individualUser = await Context.Data.SeedUser(UserType.Individual);

            await Context.Data.SeedAllocation(individualUser.Id);

            await Context.Data.AllocateUser(individualUser.Id);

            var representativeUser = await Context.Data.SeedUser(UserType.Representative);

            await Context.Data.SeedAllocation(representativeUser.Id);

            await Context.Data.AllocateUser(representativeUser.Id);

            var caseAdminUser = await Context.Data.SeedUser(UserType.CaseAdmin);

            await Context.Data.SeedAllocation(caseAdminUser.Id);

            await Context.Data.AllocateUser(caseAdminUser.Id);

            var usernames = new List <string>()
            {
                judgeUser.Username, individualUser.Username, representativeUser.Username, caseAdminUser.Username
            };

            var request = new UnallocateUsersRequest()
            {
                Usernames = usernames
            };
            var uri = ApiUriFactory.AllocationEndpoints.UnallocateUsers;

            await SendPatchRequest(uri, RequestHelper.Serialise(request));

            VerifyResponse(HttpStatusCode.OK, true);
            var response = RequestHelper.Deserialise <List <AllocationDetailsResponse> >(Json);

            response.Should().NotBeNull();
            Verify.AllocationDetailsResponse(response, usernames);
        }