Пример #1
0
 public void CreateFile_RightParams_CreateFile()
 {
     fileSystemProvider.CreateFile(@"C:\Home\Temp", "1.txt");
     using (var f = File.Open(@"C:\Home\Temp\1.txt", FileMode.Open))
     {
         Assert.IsTrue(f.CanRead);
     }
     File.Delete(@"C:\Home\Temp\1.txt");
 }