public void TestExpectingEmptyLineToBeIgnoredFromInputWhenCalled()
        {
            string   filepath = @"D:\a\DummyReviews\DummyReviews\SenderTests\EmptyLineSample.csv";
            CsvInput csvInput = new CsvInput(filepath);
            var      output   = csvInput.ReadInput();

            Assert.True(output.Count() == 4);
        }
        public void TestExpectingCsvFileToBeReadWhenCalledWithFilePath()
        {
            string   filepath = @"D:\a\DummyReviews\DummyReviews\SenderTests\TestSample.csv";
            CsvInput csvInput = new CsvInput(filepath);
            List <List <string> > testOutput = (List <List <string> >)csvInput.ReadInput();

            Debug.Assert(testOutput[0][0] == "sampledata");
        }
        public void TestExpectingOutputToBeEmptyWhenCalledWithFilePathWhereFileIsEmpty()
        {
            string   filepath = @"D:\a\DummyReviews\DummyReviews\SenderTests\EmptySample.csv";
            CsvInput csvInput = new CsvInput(filepath);
            List <List <string> > testOutput = (List <List <string> >)csvInput.ReadInput();

            Assert.True(testOutput.Count == 0);
        }
        public void TestExpectingEveryEntryInOutputToBeEmptyWhenCalledWithFilePathWhereFileContainsOnlyCommas()
        {
            string   filepath = @"D:\a\review-case-s21b4\review-case-s21b4\SenderTests\OnlyCommasSample.csv";
            CsvInput csvInput = new CsvInput(filepath);
            List <List <string> > testOutput = (List <List <string> >)csvInput.ReadInput();

            Assert.True(string.IsNullOrEmpty(testOutput[0][0]));
            Assert.True(string.IsNullOrEmpty(testOutput[0][1]));
        }