public SubstituteConfirmTaggerSourceTest()
 {
     _factory         = new MockRepository(MockBehavior.Loose);
     _mode            = _factory.Create <ISubstituteConfirmMode>();
     _textBuffer      = CreateTextBuffer("cat", "dog", "bird", "tree");
     _taggerSourceRaw = new SubstituteConfirmTaggerSource(_textBuffer, _mode.Object);
     _taggerSource    = _taggerSourceRaw;
 }
 public void SetUp()
 {
     _factory = new MockRepository(MockBehavior.Loose);
     _mode = _factory.Create<ISubstituteConfirmMode>();
     _textBuffer = CreateTextBuffer("cat", "dog", "bird", "tree");
     _taggerSourceRaw = new SubstituteConfirmTaggerSource(_textBuffer, _mode.Object);
     _taggerSource = _taggerSourceRaw;
 }