public void TestInitialise()
        {
            this._mockAccountNumberRepository = new Mock<IAccountNumberRepository>();
            this._mockOCRService = new Mock<IOCRService>();

            this._driver = new KataOCRDriver(this._mockAccountNumberRepository.Object, this._mockOCRService.Object);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var driver = new KataOCRDriver(new FileSystemAccountNumberRepository(), new OCRService());

            foreach (var accountNumber in driver.ReadAccountNumbers())
            {
                Console.WriteLine(accountNumber);
            }

            driver.WriteAccountNumbers();

            Console.Read();
        }