Exemple #1
0
        public void FileProvider_FileExists()
        {
            Assert.IsFalse(FileProvider.FileExists(Constants.FileName));

            Setup.CreateEmptyFile(Constants.FilePath);

            Assert.IsTrue(FileProvider.FileExists(Constants.FileName));
        }
Exemple #2
0
        public void FileProvider_Delete()
        {
            Setup.CreateEmptyFile(Constants.FilePath);

            FileProvider.Delete(Constants.FileName);

            Assert.IsFalse(Setup.FileExists(Constants.FilePath));
        }