public async Task ListAssignedToAsync_WhenCalled_ShouldGetAllTickets()
        {
            var results = await _resource.ListAssignedToAsync(30);

            var ticket = results.First();

            Assert.Equal(30, ticket.Id);
            Assert.Equal($"My printer is on fire! 30", ticket.Subject);
            Assert.Equal(30.ToString(), ticket.ExternalId);
            Assert.Equal(30, ticket.OrganisationId);
            Assert.Equal(30, ticket.RequesterId);
            Assert.Equal(30, ticket.AssigneeId);
        }
        public async Task ShouldListAllForAssignedForUserTickets()
        {
            var ticket1 = new TicketCreateRequest("description")
            {
                Subject = "My printer is on fire! 1",
                Comment = new TicketComment
                {
                    Body = "The smoke is very colorful. 1"
                },
                AssigneeId = 2233
            };

            var ticket2 = new TicketCreateRequest("description")
            {
                Subject = "My printer is on fire! 2",
                Comment = new TicketComment
                {
                    Body = "The smoke is very colorful. 2"
                }
            };

            var ticket3 = new TicketCreateRequest("description")
            {
                Subject = "My printer is on fire! 3",
                Comment = new TicketComment
                {
                    Body = "The smoke is very colorful. 3"
                },
                AssigneeId = 2233
            };

            var ticketsCreated = await CreateTickets(ticket1, ticket2, ticket3);

            var tickets = (await _resource.ListAssignedToAsync(2233L)).ToArray();

            Assert.Equal(2, tickets.Length);
            Assert.Equal(JsonConvert.SerializeObject(ticketsCreated[0]), JsonConvert.SerializeObject(tickets[0]));
            Assert.Equal(JsonConvert.SerializeObject(ticketsCreated[2]), JsonConvert.SerializeObject(tickets[1]));
        }