public void TestCopyFromLocalAndBack() { var localFile = FileSystemTestUtilities.MakeLocalTempFile(); var localFileDownloaded = localFile + ".2"; var remoteUri = GetTempUri(); _fileSystem.CopyFromLocal(localFile, remoteUri); _fileSystem.CopyToLocal(remoteUri, localFileDownloaded); Assert.True(File.Exists(localFileDownloaded), "A file up and downloaded should exist on the local file system."); Assert.True(FileSystemTestUtilities.HaveSameContent(localFile, localFileDownloaded), "A file up and downloaded should not have changed content."); _fileSystem.Delete(remoteUri); File.Delete(localFile); File.Delete(localFileDownloaded); }