public CacheContext() { this.cachePrunerMock = new Mock<ICachePruner>(); this.bindingConfigurationMock = new Mock<IBindingConfiguration>(); this.pipelineMock = new Mock<IPipeline>(); this.cache = new Cache(this.pipelineMock.Object, this.cachePrunerMock.Object); }
public CacheContext() { activatorMock = new Mock<IPipeline>(); cachePrunerMock = new Mock<ICachePruner>(); bindingMock = new Mock<IBinding>(); cache = new Cache(activatorMock.Object, cachePrunerMock.Object); }
public void SetUp() { this.cachePrunerMock = new Mock<ICachePruner>(); this.bindingMock = new Mock<IBinding>(); this.pipelineMock = new Mock<IPipeline>(); this.cache = new Cache(this.pipelineMock.Object, this.cachePrunerMock.Object); }
public void SetUp() { this.cachePrunerMock = new Mock<ICachePruner>(); this.bindingConfigurationMock = new Mock<IBindingConfiguration>(); this.cache = new Cache(new PipelineMock(), this.cachePrunerMock.Object); }