private void CreateFakes() { _fakeProducts = new List<ProductModel>() { new ProductModel(){Description = "cherry", Name = "pie"} }; _suggestionRepository = Stub<ISuggestionRepository>(); _suggestionRepository.Stub(x => x.GetSuggestedProducts()).Return(_fakeProducts); _actionExecutingContext = new ActionExecutingContext { Controller = Stub<ControllerBase>() }; _actionExecutingContext.Controller.ViewData = Stub<ViewDataDictionary>(); }