Exemplo n.º 1
0
        public void ShouldUseUntaggedHooksFirstStrategy()
        {
            var assemblyLoader = new Mock <IAssemblyLoader>();

            assemblyLoader.Setup(x => x.GetLibType(LibType.MessageCollector));
            var reflectionWrapper = new Mock <IReflectionWrapper>();
            var hooksStrategy     = new TestUntaggedHooksFirstExecutionProcessor(null, assemblyLoader.Object, reflectionWrapper.Object).GetHooksStrategy();

            Assert.IsInstanceOf <UntaggedHooksFirstStrategy>(hooksStrategy);
        }
Exemplo n.º 2
0
        public void ShouldUseUntaggedHooksFirstStrategy()
        {
            var hooksStrategy = new TestUntaggedHooksFirstExecutionProcessor().GetHooksStrategy();

            Assert.IsInstanceOf <UntaggedHooksFirstStrategy>(hooksStrategy);
        }