public void Fill_PropertyMatchesFilterByStartsWithNameConvention_AppliesFilter()
        {
            var container = CreateContainer();
            var inspector = container.Resolve <QueryModelInspector>();
            var viewModel = new InStockProductsViewModel();

            inspector.Fill(viewModel, null);

            Expect(viewModel.InStockProducts, Is.Not.Null);
            Expect(viewModel.InStockProducts.Count(), Is.EqualTo(7));
        }
        public void Fill_PropertyMatchesFilterByStartsWithNameConvention_AppliesFilter()
        {
            var container = CreateContainer();
            var inspector = container.Resolve<QueryModelInspector>();
            var viewModel = new InStockProductsViewModel();

            inspector.Fill(viewModel, null);

            Expect(viewModel.InStockProducts, Is.Not.Null);
            Expect(viewModel.InStockProducts.Count(), Is.EqualTo(7));
        }