public void LoadTest() { List <OrderItem> orderItem = OrderItemManager.Load(); int expected = 1; int actual = orderItem.Count; Assert.AreEqual(expected, actual); }
// GET: api/OrderItem public IEnumerable <OrderItem> Get() { return(OrderItemManager.Load()); }