public async Task SystemTraffic() { var response = await EdsmAPI.GetSystemTraffic("Deciat"); response.Dump(); Assert.IsNotNull(response.Data); Assert.Greater(response.Data.AllTime, 0, "Deciat has traffic"); }
public async Task SystemNonExistent() { var response = await EdsmAPI.GetSystemTraffic("sdsadas"); response.Dump(); Assert.IsNull(response.Data, "System does not exist. Empty object should be returned by API."); Assert.AreEqual(1, response.MessageNumber, "1 indicates that the response was empty"); }