public async Task Result_Not_Null() { // Act var result = await _repo.GetEntityAsync(); // Assert Assert.NotNull(result); }
public async Task Can_Convert_Json_To_Entity() { // Act TrafficEntity result = await _repo.GetEntityAsync(); // Assert Assert.NotNull(result); Assert.NotEqual("NOT_FOUND", result.Status); Assert.NotEqual("ZERO_RESULTS", result.Status); Assert.Equal("OK", result.Status); Assert.NotEqual(0, result.Routes.Count); Assert.NotNull(result.Routes[0].Legs[0].Duration); Assert.NotEqual(0, result.Routes[0].Legs[0].Duration.Value); }
public async Task Address_Test() { var result = await _repo.GetEntityAsync(); Assert.True(false); }