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())); }
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())); }