Exemple #1
0
        public void Groups_successfully_returns_a_PagedModel_of_ints()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            PagedModel <int> returnModel = internalLatestUniverse.Groups(1);

            Assert.Equal(1, returnModel.CurrentPage);
            Assert.Equal(3, returnModel.Model.Count);
            Assert.Equal(1, returnModel.Model[0]);
            Assert.Equal(2, returnModel.Model[1]);
            Assert.Equal(3, returnModel.Model[2]);
        }