public void Check_If_Execute_Module_SequenceAnalysis_Call_Dependencies()
        {
            //Arrange
            //Mocks
            (var findUpperCaseWordsMock, var findUpperCaseWordsResultMock) = TestHelper.CreateServiceMock();
            var presenterMock = TestHelper.CreatePresenter();

            SequenceAnalysisModule sequenceAnalysisModule =
                new SequenceAnalysisModule(findUpperCaseWordsMock.Object, presenterMock.Object);

            //Act
            sequenceAnalysisModule.Execute();

            //Assert that all dependencies has been called
            findUpperCaseWordsMock.Verify(a => a.Handle(It.IsAny <string>()));
            findUpperCaseWordsResultMock.Verify(a => a.OrderBy());
            presenterMock.Verify(a => a.ShowText(It.IsAny <string>()));
            presenterMock.Verify(a => a.FetchInput());
        }
        public void Check_If_Execute_Module_SumOfMultiple_Call_Dependencies()
        {
            //Arrange
            //Mocks
            (var findMultipleNumbersOf3Or5, var findUpperCaseWordsResultMock) = TestHelper.CreateServiceMock();
            var presenterMock = TestHelper.CreatePresenter();

            SumOfMultipleModule sumOfMultipleModule =
                new SumOfMultipleModule(findMultipleNumbersOf3Or5.Object, presenterMock.Object);

            //Act
            sumOfMultipleModule.Execute();

            //Assert that all dependencies has been called
            findMultipleNumbersOf3Or5.Verify(a => a.Handle(It.IsAny <long>()));
            findUpperCaseWordsResultMock.Verify(a => a.Sum());
            presenterMock.Verify(a => a.ShowText(It.IsAny <string>()));
            presenterMock.Verify(a => a.FetchInput());
        }