public void TestCallPostConstruct() { var instance = new MockClassWithPostConstruct(); instance = this.injector.Inject<MockClassWithPostConstruct>(instance); Assert.IsTrue(instance.hasCalledPostConstructor); }
public void TestCallPostConstruct() { var instance = new MockClassWithPostConstruct(); instance = this.injector.Inject <MockClassWithPostConstruct>(instance); Assert.IsTrue(instance.hasCalledPostConstructor); }