Ejemplo n.º 1
0
        public static void WhenLocationSpecifiedOfFileIsNotCorrectThenSenderCannotRead()
        {
            var    ff   = new CheckInputFileValid();
            string path = GivePath("SenderCsv.csv");

            Assert.False(ff.CheckIfFileExistsAtSpecifiedLocation(path));
        }
Ejemplo n.º 2
0
        public static void WhenWrongFileIsInputThenSenderCannotRead()
        {
            var    ff   = new CheckInputFileValid();
            string path = GivePath("SenderCsv.cst");

            Assert.False(ff.CheckFileExists(path));
        }
Ejemplo n.º 3
0
        public static void WhenFileExtensionIsNotCsv()
        {
            var    ff   = new CheckInputFileValid();
            string path = GivePath("SenderInputCsv.cst");

            Assert.False(ff.CheckFileExtensionIsCorrect(path));
        }