public void GetAllOrdersShouldReturnAllOrders() { using (var context = new Entity.p0storeContext(options)){ OrderDB _orderDB = new OrderDB(context); var orders = _orderDB.GetAllOrder(); int count = orders.Count; Assert.Equal(1, count); } }
public List <Order> GetAllOrder() { return(_orderDB.GetAllOrder()); }