public void ProductService_CanAddOrders() { productsService.CreateOrder(1); var result = productsService.GetProductOrders(1); Assert.True(result.ToList()[0].ProductId == 1, "Return id should be 1"); }
public void ProductService_CanAddOrders() { productsService.CreateOrder(1); var result = productsService.GetProductOrders(1); Assert.True(result.ToList()[0].ProductId == 1, "Return id should be 1"); }