Пример #1
0
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph(Assembly.GetExecutingAssembly());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Explicit).Single()
                .ShouldBeTheSameAs(action);
        }
Пример #2
0
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph();
            graph.Push(new SomeFubuRegistry());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Conneg).Single()
                .ShouldBeTheSameAs(action);
        }
Пример #3
0
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph();

            graph.Push(new SomeFubuRegistry());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Conneg).Single()
            .ShouldBeTheSameAs(action);
        }