protected override void beforeEach() { _fubuSparkView = MockFor <FubuSparkView>(); _engine = MockFor <ISparkViewEngine>(); _resourcePathManager = MockFor <IResourcePathManager>(); _engine.Stub(x => x.ResourcePathManager).Return(_resourcePathManager); }
protected override void beforeEach() { _fubuSparkView = MockFor <FubuSparkView>(); _engine = MockFor <ISparkViewEngine>(); _appPath = new SiteResourceAttacher.AppPath(); MockFor <IFubuRequest>().Stub(x => x.Get <SiteResourceAttacher.AppPath>()).Return(_appPath); _resourcePathManager = MockFor <IResourcePathManager>(); _engine.Stub(x => x.ResourcePathManager).Return(_resourcePathManager); }
protected override void beforeEach() { _sparkView = MockFor <FubuSparkView>(); _fubuSparkView = MockFor <FubuSparkView>(); _engine = MockFor <ISparkViewEngine>(); _request = MockFor <CurrentRequest>(); MockFor <IFubuRequest>().Stub(x => x.Get <CurrentRequest>()).Return(_request); _resourcePathManager = MockFor <IResourcePathManager>(); _engine.Stub(x => x.ResourcePathManager).Return(_resourcePathManager); }