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); }
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); }