public async Task OrdersQuery_IndexHelperWithNoUsername()
        {
            var ordersQuery = new OrdersQuery(new FakeDataContext());
            var model       = await ordersQuery.IndexHelperAsync(null, new DateTime(2016, 1, 1), new DateTime(2016, 1, 3), null, false);

            Assert.AreEqual(2, model.Orders.Count());
        }
        public async Task OrdersQuery_IndexHelperWithUsername()
        {
            var ordersQuery = new OrdersQuery(new FakeDataContext());
            var model       = await ordersQuery.IndexHelperAsync("bob", new DateTime(2016, 1, 1), new DateTime(2016, 1, 3), null, false);

            Assert.AreEqual(1, model.Orders.Count());
            Assert.IsTrue(model.Orders.Any(o => o.Username == "bob"));
            Assert.IsFalse(model.Orders.Any(o => o.Username == "sue"));
        }