Exemplo n.º 1
0
        private void HandleWord(Word word)
        {
            bool isStopWord           = StopWordManager.IsStopWord(word);
            bool lengthGreaterThanOne = word.IsLongerThanOne();

            if (!isStopWord && lengthGreaterThanOne)
            {
                _words.Add(word);
            }
        }
Exemplo n.º 2
0
 protected override void Initialize()
 {
     manager = new StopWordManager(mockUnitOfWork.Object, mockMapper.Object);
 }