public void AddOrder_WhenOrderDoesntHaveTests_ReturnsFasle() { Order order = new Order(); ResponseType expected = ResponseType.Failed; Response result = libService.AddOrder(order); Assert.Equal(result.ResponseType, expected); }
public ActionResult <Response> AddOder(Order order) { return(_libService.AddOrder(order)); }