Пример #1
0
        public void should_run_in_isolation_from_other_action_matching()
        {
            var graph = new FubuRegistry(registry =>
            {
                registry.ApplyHandlerConventions <Handlers.HandlersMarker>();
                registry
                .Actions
                .IncludeType <TestController>();
            }).BuildGraph();

            verifyRoutes(graph);
            graph
            .Actions()
            .Where(call => call.HandlerType == typeof(TestController))
            .ShouldHaveCount(6);
        }