public void Setup() { _tokenizer = new Mock<ITokenizer>(); _frequencer = new Frequencer(_tokenizer.Object); var input = new[] {"HI", "BYE"}; _tokenizer.Setup(x => x.TokenizeWords(It.IsAny<string>())).Returns(input); _tokenizer.Setup(x => x.TokenizeSentences(It.IsAny<string>())).Returns(new[] {"Hi"}); }
public Summarizer(IFrequencer frequencer) { _frequencer = frequencer; }