public void SetUp()
        {
            _contentProcessorMock = new Mock <IContentProcessor>();
            _wordsRepositoryMock  = new Mock <IWordsRepository>();
            _textFileReaderMock   = new Mock <ITextFileReader>();
            _inputOutputStub      = new InputOutputStub();
            _launcher             = new ContentProcessorLauncher(_contentProcessorMock.Object, _wordsRepositoryMock.Object, _textFileReaderMock.Object, _inputOutputStub);

            SetUpContent(SampleContent);
            SetUpNegativeWords(_negativeWords);
        }
示例#2
0
        public static void Main(string[] args)
        {
            var launcher = new ContentProcessorLauncher();

            launcher.Run();
        }