public async Task GetSingleById_Should_Return_NotFound(string url, int id) { //Arrange //Act var response = await HttpTestClient.GetAsync($"{url}{id}"); //Assert response.StatusCode.ShouldBe(System.Net.HttpStatusCode.NotFound); }
public async Task GetAll_Should_Return_Ok(string url) { //Arrange //Act var response = await HttpTestClient.GetAsync(url); //Assert response.StatusCode.ShouldBe(System.Net.HttpStatusCode.OK); }