public override void Given()
 {
     Selector = CreateStub<ActionResultSelector>();
     actionResultResolver = new FluentMvcResolver(actionResultRegistry, CreateStub<IFluentMvcObjectFactory>(), new ActionFilterResolver(actionFilterRegistry, CreateStub<IFluentMvcObjectFactory>()));
     CatchAllFactory = CreateStub<IActionResultFactory>();
     actionResultResolver.SetDefaultFactory(CatchAllFactory);
 }
        public override void Given()
        {
            pipeline = CreateStub<IActionResultPipeline>();

            ExpectedActionResult = CreateStub<ActionResult>();
            pipeline.Stub(factory => factory.Create(Arg<ActionResultSelector>.Is.Anything))
                .Return(ExpectedActionResult);

            FactoryOptions = CreateStub<ActionResultSelector>();
            actionResultResolver = new FluentMvcResolver(actionResultRegistry, CreateStub<IFluentMvcObjectFactory>(), new ActionFilterResolver(actionFilterRegistry, CreateStub<IFluentMvcObjectFactory>()));
            actionResultResolver.RegisterActionResultPipeline(pipeline);
        }
 public override void Given()
 {
     pipeline = CreateStub<IActionResultPipeline>();
     actionResultResolver = new FluentMvcResolver(actionResultRegistry, CreateStub<IFluentMvcObjectFactory>(), new ActionFilterResolver(actionFilterRegistry, CreateStub<IFluentMvcObjectFactory>()));
 }