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

            IList <V2UniverseFactions> returnModel = internalLatestUniverse.Factions();

            Assert.Equal(1, returnModel.Count);
            Assert.Equal(456, returnModel.First().CorporationId);
            Assert.Equal("blah blah", returnModel.First().Description);
            Assert.Equal(1, returnModel.First().FactionId);
            Assert.True(returnModel.First().IsUnique);
            Assert.Equal("Faction", returnModel.First().Name);
            Assert.Equal(1, returnModel.First().SizeFactor);
            Assert.Equal(123, returnModel.First().SolarSystemId);
            Assert.Equal(1000, returnModel.First().StationCount);
            Assert.Equal(100, returnModel.First().StationSystemCount);
        }