示例#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);
        }
示例#2
0
        public void ShouldUseUntaggedHooksFirstStrategy()
        {
            var hooksStrategy = new TestUntaggedHooksFirstExecutionProcessor().GetHooksStrategy();

            Assert.IsInstanceOf <UntaggedHooksFirstStrategy>(hooksStrategy);
        }