public Integration(
     IUserInterfacePortal userInterfacePortal,
     IManuscriptProvider manuscriptProvider,
     IStopWordProvider stopWordProvider)
 {
     _userInterfacePortal = userInterfacePortal;
     _manuscriptProvider  = manuscriptProvider;
     _stopWordProvider    = stopWordProvider;
 }
Example #2
0
        public IntegrationTests()
        {
            _userInterfacePortal = Substitute.For <IUserInterfacePortal>();
            _manuscriptProvider  = new ManuscriptProvider();
            _stopWordProvider    = new StopwordProvider(TestStopwordListPath);

            _target = new Integration(
                _userInterfacePortal,
                _manuscriptProvider,
                _stopWordProvider);
        }