public static void SetupTestData(TestContext testContext) { var response = Products.AddProduct("TST", "Test product"); response.StatusCode.Should().Be(HttpStatusCode.Created); response = Products.AddProduct("ANO", "Another product"); response.StatusCode.Should().Be(HttpStatusCode.Created); }
public void CreateASingleProduct() { var response = Products.AddProduct("NEW", "New product"); response.StatusCode.Should().Be(HttpStatusCode.Created); }
public void GivenANewProductIsExists(string productCode, string productDescription) { var response = Products.AddProduct(productCode, productDescription); response.StatusCode.Should().Be(HttpStatusCode.OK); }