public virtual void a_type_registered_as_transient_gets_an_instance_which_is_created_with_another_instance_and_is_registered_as_perwebrequest()
        {
            Resolver.AddDependency<IContextStore,AmbientContextStore>();

            Resolver.AddDependency<TheDependentClassThatNeedsYou>(DependencyLifetime.Transient);

            var contextStore = new AmbientContext();
            using (new ContextScope(contextStore))
            {
                var objectForScope = new TheClassThatNeedsYou(new NeedYou());

                Resolver.AddDependencyInstance(typeof(TheClassThatNeedsYou), objectForScope, DependencyLifetime.PerRequest);

               var dependentClass =  Resolver.Resolve<TheDependentClassThatNeedsYou>();
               dependentClass.ShouldNotBeNull();
            }
        }
 public TheDependentClassThatNeedsYou(TheClassThatNeedsYou theClassThatNeedsYou)
 {
     this.theClassThatNeedsYou = theClassThatNeedsYou;
 }