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)); }
public void SetUp() { BehaviorGraph behaviorGraph = new FubuRegistry().BuildGraph(); behaviorGraph.Behaviors.Count().ShouldEqual(1); theContentCache = behaviorGraph.Services.DefaultServiceFor <IAssetContentCache>() .Value.ShouldBeOfType <AssetContentCache>(); theChain = behaviorGraph.BehaviorFor <AssetWriter>(x => x.Write(null)); }