public void Preparation() { container = MockHelper.InitializeContainer(new[] { typeof(IProjectionsCollector).Assembly, typeof(Element).Assembly }, new Type[0]); var pool = new ResourcePool(); container.ComposeExportedValue(pool); container.ComposeExportedValue(container); Settings.NoCacheGarbageChecking = true; }
public void Preparation() { container = MockHelper.InitializeContainer(new[] { typeof(IProjectionsCollector).Assembly, typeof(Element).Assembly }, new Type[0]); var pool = new ResourcePool(); var writer = new TestWriter(); container.ComposeExportedValue(container); container.ComposeExportedValue(pool); container.ComposeExportedValue(writer); container.GetExportedValue<ICacheServicing>().Initialize(); }