예제 #1
0
        public void Races_successfully_returns_a_list_of_Races()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            IList <V1UniverseRaces> returnModel = internalLatestUniverse.Races();

            Assert.Equal(1, returnModel.Count);
            Assert.Equal(500001, returnModel[0].AllianceId);
            Assert.Equal("Founded on the tenets of patriotism and hard work...", returnModel[0].Description);
            Assert.Equal("Caldari", returnModel[0].Name);
            Assert.Equal(1, returnModel[0].RaceId);
        }