Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }