Exemplo n.º 1
0
        public void SetDefaultPipeline()
        {
            _registry.SetDefaultPipeline(_somePipeline);

            Assert.That(_registry.DefaultPipeline, Is.SameAs(_somePipeline));
            Assert.That(_registry.Get("some id"), Is.SameAs(_somePipeline));
            Assert.That(() => _registry.SetDefaultPipeline(_somePipeline), Throws.Nothing);
        }
        public void RegisterAndGet()
        {
            _registry.Register(_somePipeline);

            Assert.That(_registry.Get("some id"), Is.SameAs(_somePipeline));
        }