public void CancelOrder_ReturnTrue(int orderId) { // arrange int id = orderId; // act user.AddToShoppingCart(id); user.CreateOrder(); bool actualResult = user.CancelOrder(id); // assert Assert.AreEqual(true, actualResult); }
public void CancelOrder_ReturnTrue(int orderId) { // arrange int id = orderId; // act user.AddToShoppingCart(id); user.CreateOrder(); bool actualResult = user.CancelOrder(id); // assert Assert.AreEqual(true, actualResult); }