Example #1
0
        public void GetFileDataRows_Method_Should_Return_Path_Exception(string path)
        {
            //Arrange
            string fileName = "somefile.txt";

            //Act
            Exception exception = Assert.ThrowsException <Exception>(() => _fileDataReader.GetFileDataRows(path, fileName));

            //Assert
            Assert.AreEqual("La variable 'path' no puede ser nula o vacĂ­a", exception.Message);
        }