public void configure_not_implemented() { IConfigurationAction configActionVisitor = new RouteVisitor(); typeof(NotImplementedException).ShouldBeThrownBy( () => configActionVisitor.Configure(new FubuRegistry().BuildGraph())); }
public void configure_not_implemented() { IConfigurationAction configActionVisitor = new RouteVisitor(); typeof(NotImplementedException).ShouldBeThrownBy( () => configActionVisitor.Configure(BehaviorGraph.BuildEmptyGraph())); }
public void SetUp() { visitor = new RouteVisitor(); route = MockRepository.GenerateMock <IRouteDefinition>(); chain = new BehaviorChain(); processor = MockRepository.GenerateMock <RouteProcessor>(); visitor.Actions += (x, y) => processor.Got(x, y); }