public async Task GetPetPerPageReturnsPerPage()
        {
            var repo     = new FakeModelRepo();
            var repoMock = new Mock <IPetRepository>();
            var logger   = new Mock <ILogger>();

            logger.Setup(x => x.Path).Returns("sample");
            repoMock.Setup(x => x.CountPets()).Returns(repo.CountPets());
            repoMock.Setup(x => x.GetPetPerPage(1, 10)).Returns(repo.GetPetPerPage(1, 10));
            var controller = new PetController(repoMock.Object, logger.Object);

            var result = await controller.GetPetsPerPage(1) as OkObjectResult;

            if (result != null)
            {
                dynamic obj = new DynamicObjectResultValue(result.Value);


                Assert.Equal(2, obj.totalCount);
                Assert.Equal(1, obj.totalPages);
                Assert.IsType <List <Pet> >(obj.pets);
            }
        }