public void PropertyNotInjected() { var context = CreateContext(); var page = new NonInjectedPage(); var target = new AttributedInjectionModule(); var injector = target.GetInjectionBehavior(page); Assert.NotNull(injector); injector.InjectDependencies(context, page); Assert.Null(page.Property); }
public void PropertyNotInjected() { var context = CreateContext(); var page = new NonInjectedPage(); var target = new AttributedInjectionModule(); var injector = target.GetInjectionBehavior(page); Assert.IsNotNull(injector); injector.InjectDependencies(context, page); Assert.IsNull(page.Property); }