public void StringFileReaderDoesNotReadEmptyLines() { //Arrange var configuration = InitConfiguration.GetSettings(); var mockLogger = getMockLogger(); //Act var stringReader = new StringFileReader(configuration, mockLogger.Object); var fileContents = stringReader.ReadFromFile(); //Assert Assert.AreEqual(18, fileContents.Count); }
public void StringFileReaderReadsFromFileSuccessfully() { //Arrange var configuration = InitConfiguration.GetSettings(); var mockLogger = getMockLogger(); //Act var stringReader = new StringFileReader(configuration, mockLogger.Object); var fileContents = stringReader.ReadFromFile(); //Assert Assert.NotZero(fileContents.Count); }