Ejemplo n.º 1
0
        public KeywordsParserTests()
        {
            _keywordDictionary = Substitute.For <IKeywordDictionary>();
            _keywordDictionary.IsValidKeyword(Arg.Any <string>()).Returns(true);

            _keywordsParser = new KeywordsParser(_keywordDictionary);
        }
Ejemplo n.º 2
0
 public KeywordsParser(IKeywordDictionary keywordDictionary)
 {
     _keywordDictionary = keywordDictionary;
 }