public void SetUp() { _semanticSearchProducer = Substitute.For <ISemanticSearchProducer>(); _semanticSearchConsumer = Substitute.For <ISemanticSearchConsumer>(); _sut = new SemanticSearchProcessor(Substitute.For <ILogger <SemanticSearchProcessor> >(), _semanticSearchProducer, _semanticSearchConsumer); }
public SemanticSearchProcessor ( ILogger <SemanticSearchProcessor> logger, ISemanticSearchProducer semanticSearchProducer, ISemanticSearchConsumer semanticSearchConsumer ) { _logger = logger; _semanticSearchProducer = semanticSearchProducer; _semanticSearchConsumer = semanticSearchConsumer; }