public void with_no_other_explicit_action_discovery()
        {
            var graph = new FubuRegistry(x =>
            {

            }).BuildGraph();

            graph.BehaviorFor<MyEndpoint>(x => x.Go()).ShouldNotBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go()).ShouldNotBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go2()).ShouldNotBeNull();
        }
        public void does_not_find_endpoints_with_an_explicit_action_discovery_policy()
        {
            var graph = new FubuRegistry(x =>
            {
                x.Actions.FindWith(new FakeActionSource());
            }).BuildGraph();

            graph.BehaviorFor<MyEndpoint>(x => x.Go()).ShouldBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go()).ShouldBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go2()).ShouldBeNull();
        }
        public void does_not_find_endpoints_with_an_explicit_action_discovery()
        {
            var graph = new FubuRegistry(x =>
            {
                x.Actions.IncludeClassesSuffixedWithController();
            }).BuildGraph();

            graph.BehaviorFor<MyEndpoint>(x => x.Go()).ShouldBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go()).ShouldBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go2()).ShouldBeNull();
        }
        public void will_find_endpoints_if_endpoint_is_explictly_specified_too()
        {
            var graph = new FubuRegistry(x =>
            {
                x.Actions.FindWith(new FakeActionSource());
                x.Actions.IncludeClassesSuffixedWithEndpoint();
            }).BuildGraph();

            graph.BehaviorFor<MyEndpoint>(x => x.Go()).ShouldNotBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go()).ShouldNotBeNull();
            graph.BehaviorFor<MyEndpoints>(x => x.Go2()).ShouldNotBeNull();
        }
        public void SetUp()
        {
            BehaviorGraph behaviorGraph = new FubuRegistry().BuildGraph();

            theContentCache = behaviorGraph.Services.DefaultServiceFor<IAssetContentCache>()
                .Value.ShouldBeOfType<AssetContentCache>();

            theChain = behaviorGraph.BehaviorFor<AssetWriter>(x => x.Write(null));
        }
        public void SetUp()
        {
            var graph = new FubuRegistry(x =>
            {
                x.Actions.IncludeType<MethodAction>();

            }).BuildGraph();

            theChain = graph.BehaviorFor<MethodAction>(x => x.Get_cases_from_Start_to_End(null));
        }