Ejemplo n.º 1
0
        public void Moving_Should_Update_Underlying_MetaData()
        {
            Assert.False(targetPath.Exists);
            original.Move(targetPath.FullName);

            targetPath.Refresh();
            Assert.True(targetPath.Exists);
        }
 public void Moving_File_Should_Create_New_File()
 {
     Assert.False(FileSystem.IsFileAvailable(targetPath));
     source.Move(targetPath);
     Assert.True(FileSystem.IsFileAvailable(targetPath));
 }