public async Task ReturnsCompanies() { var access = new OpenDataAccess(); IEnumerable <Record> records = await access.getAllCompaniesAsync(); Assert.IsNotNull(records); }
public async Task OpenDataWorksLikeACharm() { var access = new OpenDataAccess(); IEnumerable <Record> records = await access.getAllCompaniesAsync(); Assert.IsTrue(access.LastResponse.IsSuccessStatusCode, $"L'appel a échoué : {access.LastResponse.StatusCode}"); }