public void Build_happy_path()
        {
            var target   = new ATarget();
            var instance = new ObjectInstance(target);

            instance.Build <ATarget>().ShouldBeTheSameAs(target);
        }
Esempio n. 2
0
        public void Build_happy_path()
        {
            var target   = new ATarget();
            var instance = new ObjectInstance(target);

            Assert.AreSame(target, instance.Build(typeof(ITarget), new StubBuildSession()));
        }
Esempio n. 3
0
        public void Build_happy_path()
        {
            var target = new ATarget();
            var instance = new ObjectInstance(target);

            instance.Build<ATarget>().ShouldBeTheSameAs(target);
        }
 public void Build_happy_path()
 {
     var target = new ATarget();
     var instance = new ObjectInstance(target);
     Assert.AreSame(target, instance.Build(typeof (ITarget), new StubBuildSession()));
 }