public void ShouldRegisterPipelineExpectedToBeCalled() { // arrange var config = CreateSimpleConfig(); using (var w = new PipelineWatcher(config)) { // act w.Expects("mypipeline"); // assert config.SelectSingleNode("/sitecore/pipelines/mypipeline").Should().NotBeNull(); } }
public PipelineWatcherTest() { this.watcher = new PipelineWatcher(Factory.GetConfiguration()); }
internal Db(PipelineWatcher pipelineWatcher) : this() { this.pipelineWatcher = pipelineWatcher; }