public void GetAllCombinations_ShouldAskStorageForCombinations() { _mockStorage.Expect(s => s.GetAllCombinations()).Return(new Dictionary <string, IncludeCombination>()); IDictionary <string, IncludeCombination> combinations = _combiner.GetAllCombinations(); Assert.IsNotNull(combinations); _mocks.VerifyAll(); }
public ActionResult Index() { // TODO: list the contents of the IncludeStorage; Includes and IncludeCombinations var model = new IncludeIndexModel { Includes = _combiner.GetAllIncludes(), Combinations = _combiner.GetAllCombinations() }; return(View(model)); }