public void Setup()
        {
            _mockConsole = new MockConsole();

            _distanceOfSpecificRoutesCalculator = MockRepository.GenerateStub <ICalculateDistancesOfSpecificRoutes>();
            _routesFinder = MockRepository.GenerateStub <IFindRoutes>();

            _routesFinder.Stub(r => r.GetRoutes(null, null)).IgnoreArguments().Return(new List <Route>());
            _routesFinder.Stub(r => r.GetShortestRoute(null, null)).IgnoreArguments().Return(new Route());

            _testScenarioRunner = new TestScenarioRunner(_mockConsole, _distanceOfSpecificRoutesCalculator, _routesFinder);
        }
        public void Should_output_number_of_available_routes_with_no_more_than_3_stops_for_scenario_6()
        {
            var availableRoute = new List <Route>
            {
                new Route {
                    new ConnectedStations("A", "B", 5)
                }
            };

            _routesFinder.Stub(r => r.GetRoutes("C", "C")).Return(availableRoute).Repeat.Any();

            _testScenarioRunner.Run();

            Assert.That(_mockConsole.GetOutput(), Is.StringContaining("Output #6: 1"));
        }