Ejemplo n.º 1
0
        public void IsFileReadOnly_For_Readable_File_Returns_False()
        {
            // Set up temporary sample file to alter
            string fileNameCopied = "IsReadableFileReadOnly.txt";

            _pathCopied = Path.Combine(_assemblyFolder, fileNameCopied);
            File.Copy(_pathOriginal, _pathCopied);

            Assert.IsFalse(FileLibrary.IsFileReadOnly(_pathCopied));
        }