public void RetrieveNames_NonExistingFile_ReturnsListofStrings()
        {
            var loggerMock      = new Mock <ILoggerService>();
            var namesRepository = new DataReaderWriter(loggerMock.Object);

            string path = Directory.GetCurrentDirectory();

            namesRepository.DataSource = @".\..\..\..\DataSource\notExisting.txt";
            var unsortedNames = namesRepository.RetrieveNames();
        }
        public void RetrieveNames_ValidTextFile_ReturnsListofStrings()
        {
            var loggerMock      = new Mock <ILoggerService>();
            var namesRepository = new DataReaderWriter(loggerMock.Object);

            string path = Directory.GetCurrentDirectory();

            namesRepository.DataSource = @".\..\..\..\DataSource\unsorted-names-list.txt";
            var unsortedNames = namesRepository.RetrieveNames();

            Assert.IsTrue(unsortedNames.Count == 11);
        }