public PipelineContext() { strategyMocks.Add(new Mock<IActivationStrategy>()); strategyMocks.Add(new Mock<IActivationStrategy>()); strategyMocks.Add(new Mock<IActivationStrategy>()); pipeline = new Pipeline(strategyMocks.Select(mock => mock.Object)); }
public PipelineContext() { this.StrategyMocks.Add(new Mock<IActivationStrategy>()); this.StrategyMocks.Add(new Mock<IActivationStrategy>()); this.StrategyMocks.Add(new Mock<IActivationStrategy>()); this.ActivationCacheMock = new Mock<IActivationCache>(); this.Pipeline = new Pipeline(this.StrategyMocks.Select(mock => mock.Object), this.ActivationCacheMock.Object); }