public KeywordsParserTests() { _keywordDictionary = Substitute.For <IKeywordDictionary>(); _keywordDictionary.IsValidKeyword(Arg.Any <string>()).Returns(true); _keywordsParser = new KeywordsParser(_keywordDictionary); }
public KeywordsParser(IKeywordDictionary keywordDictionary) { _keywordDictionary = keywordDictionary; }