public async Task GetSolutionTagsPaginatedAsync_ExpectedClientCall()
        {
            IUKFastECloudClient client = Substitute.For <IUKFastECloudClient>();

            client.GetPaginatedAsync <Tag>("/ecloud/v1/solutions/123/tags").Returns(Task.Run(() =>
            {
                return(new Paginated <Tag>(client, "/ecloud/v1/solutions/123/tags", null, new Response.ClientResponse <System.Collections.Generic.IList <Tag> >()
                {
                    Body = new Response.ClientResponseBody <System.Collections.Generic.IList <Tag> >()
                    {
                        Data = new List <Tag>()
                        {
                            new Tag(),
                            new Tag()
                        }
                    }
                }));
            }));

            var ops       = new SolutionTagOperations <Tag>(client);
            var paginated = await ops.GetSolutionTagsPaginatedAsync(123);

            Assert.AreEqual(2, paginated.Items.Count);
        }
        public async Task GetSolutionTagsPaginatedAsync_InvalidSolutionID_ThrowsUKFastClientValidationException()
        {
            var ops = new SolutionTagOperations <Tag>(null);

            await Assert.ThrowsExceptionAsync <UKFastClientValidationException>(() => ops.GetSolutionTagsPaginatedAsync(0));
        }