Пример #1
0
        public void Index_ShouldAskCombinerForAllCombinations_AndAllIncludes()
        {
            _mockCombiner.Expect(c => c.GetAllIncludes()).Return(new List <Include>());
            _mockCombiner.Expect(c => c.GetAllCombinations()).Return(new Dictionary <string, IncludeCombination>());

            ActionResult result = _controller.Index();

            Assert.IsInstanceOf <ViewResult>(result);
            _mocks.VerifyAll();
        }