Example #1
0
        public void Setup()
        {
            _timPrinter.PrintShouldReturn(valueFromTimPrinter);
                _pexPrinter.PrintShouldReturn(valueFromPexPrinter);
                _timpexPrinter.PrintShouldReturn(valueFromTimpexPrinter);

                var printer=new AdvancedTimpexPrinter(_timPrinter,_pexPrinter,_timpexPrinter);
                for (int i = 0; i <= 99; i++)
                {
                    _returnValues[i] = printer.PrintLine();
                }
        }
Example #2
0
        public void Setup()
        {
            _timPrinter.PrintShouldReturn(valueFromTimPrinter);
            _pexPrinter.PrintShouldReturn(valueFromPexPrinter);
            _timpexPrinter.PrintShouldReturn(valueFromTimpexPrinter);

            var printer = new AdvancedTimpexPrinter(_timPrinter, _pexPrinter, _timpexPrinter);

            for (int i = 0; i <= 99; i++)
            {
                _returnValues[i] = printer.PrintLine();
            }
        }
Example #3
0
        private void Act()
        {
            var printer = new AdvancedTimpexPrinter(_timPrinter, _pexPrinter, _timpexPrinter, Counter);

            _returnedValue = printer.PrintLine();
        }
Example #4
0
 private void Act()
 {
     var printer = new AdvancedTimpexPrinter(_timPrinter, _pexPrinter, _timpexPrinter, Counter);
     _returnedValue = printer.PrintLine();
 }