public void GetStationRank_ValidRequest_ValidResponse() { EveMarketDataResponse <StationRank> res = api.GetStationRank(validOptions); StationRank.StationRankEntry entry = res.Result.Stations.First(); Assert.AreNotEqual(0, entry.StationId); Assert.AreNotEqual("", entry.Date); Assert.AreNotEqual(0, entry.RankByOrders); Assert.AreNotEqual(0, entry.RankByPrice); }
//[TestMethod] public async Task GetStationRank_ValidRequestAsync_ValidResponse() { EmdResponse <StationRank> res = await _api.GetStationRankAsync(_validOptions); StationRank.StationRankEntry entry = res.Result.Stations.First(); Assert.AreNotEqual(0, entry.StationId); Assert.AreNotEqual("", entry.Date); Assert.AreNotEqual(0, entry.RankByOrders); Assert.AreNotEqual(0, entry.RankByPrice); }