public void SetUp()
        {
            inner = Wrapper.For<SimpleBehavior>();
            chain = new BehaviorChain();

            chain.AddToEnd(inner);

            theNode = new BehaviorTracerNode(inner);
        }
        public void creating_an_object_def_for_full_tracing_should_wrap_with_a_behavior_tracer()
        {
            var node = new Wrapper(typeof (SimpleBehavior));
            var instance = new BehaviorTracerNode(node).As<IContainerModel>().ToInstance().As<IConfiguredInstance>();

            instance.PluggedType.ShouldBe(typeof (BehaviorTracer));
            instance.FindDependencyDefinitionFor<IActionBehavior>()
                .ReturnedType.ShouldBe(typeof (SimpleBehavior));
        }