public void SetUp()
        {
            _standardConfigurer = MockRepository.GenerateMock<IControllerActionConfigurer>();
            _conventions = new FubuConventions();
            _assemblyExpression = new AssemblyControllerScanningExpression(_conventions, new[] { _standardConfigurer });
            var action = typeof(TestController).GetMethod("AnotherAction");
            _standardConfigurer.Stub(c => c.ShouldConfigure(null)).IgnoreArguments().Return(true);
            _standardConfigurer.Stub(c => c.Configure(null)).IgnoreArguments().Return(new ControllerActionConfig(action, null, null));

            _expectedUrl = "EXPECTED_URL";
            _conventions.PrimaryUrlConvention = config => _expectedUrl;

            _assemblyExpression.UsingTypesInTheSameAssemblyAs<TestController>(types =>
                  from t in types
                  where t == typeof(TestController)
                  from m in t.GetMethods()
                  where m.Name.EndsWith("Action") && m.GetParameters()[0].ParameterType != typeof(Int32)
                  select m);
        }
        public void SetUp()
        {
            _conventions = new FubuConventions();
            _standardConfigurer = MockRepository.GenerateMock<IControllerActionConfigurer>();
            _configurer = MockRepository.GenerateMock<IControllerActionConfigurer>();

            _assemblyExpression = new AssemblyControllerScanningExpression(_conventions, new[]{_standardConfigurer});
            _assemblyExpression.UsingConfigurer(_configurer);
        }