public AspxPageInjector(RetrIocConfiguration cfg) { if (cfg == null) { throw new ArgumentNullException("cfg"); } _cfg = cfg; _injectionMap = new InjectionMap(); }
public void Ctor_GivenConfig_Constructs() { var instance = new RetrIocConfiguration(new ActivatorContainer()); Assert.That(instance, Is.Not.Null); }
public static void ConfigureWith(RetrIocConfiguration config) { ConfigVerifier.AssertModuleExists(HttpContext.Current.ApplicationInstance); _aspxPageInjector = new AspxPageInjector(config); }
public void SetUp() { _cfg = new RetrIocConfiguration(new FakeContainer()); _module = new AspxPageInjector(_cfg); _somePage = new TestPage(); }