public void ReadAllLines_FromExistentUnicodeResourceWithAsciiEncoding_ShouldNotReturnCorrectContent()
        {
            DefaultFileSystemReaderImplementation readerSut = new DefaultFileSystemReaderImplementation();

            IList <string> returnValue = readerSut.ReadAllLines("TestData/FileSystemDataUnicode.txt", Encoding.ASCII);

            Assert.AreEqual("This is a test content.", returnValue[0]);
            Assert.AreNotEqual("With two lines and unicode char: ۩.", returnValue[1]);
        }
        public void ReadAllLines_FromExistentResource_ShouldReturnCorrectContent()
        {
            DefaultFileSystemReaderImplementation readerSut = new DefaultFileSystemReaderImplementation();

            IList <string> returnValue = readerSut.ReadAllLines("TestData/FileSystemData.txt");

            Assert.AreEqual("This is a test content.", returnValue[0]);
            Assert.AreEqual("With two lines.", returnValue[1]);
        }
        public void ReadAllLines_WithNotExistentFilePath_ShouldThrowFileNotFoundException()
        {
            DefaultFileSystemReaderImplementation readerSut = new DefaultFileSystemReaderImplementation();

            readerSut.ReadAllLines("a/b/c/NotExistent/NotExistentTestFile.fab");
        }