Beispiel #1
0
        public async Task CategoriesAsync_successfully_returns_a_list_of_ints()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            IList <int> returnModel = await internalLatestUniverse.CategoriesAsync();

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