public async Task ListForOrganizationAsync_WhenCalled_ShouldGetAllTickets()
        {
            var results = await _resource.ListForOrganizationAsync(10);

            var ticket = results.First();

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

            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"
                },
                OrganisationId = 16230
            };

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

            var tickets = (await _resource.ListForOrganizationAsync(16230L)).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]));
        }