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); }
public void ShouldUseUntaggedHooksFirstStrategy() { var hooksStrategy = new TestUntaggedHooksFirstExecutionProcessor().GetHooksStrategy(); Assert.IsInstanceOf <UntaggedHooksFirstStrategy>(hooksStrategy); }