@Test
@Category({ DevFabricTests.class, DevStoreTests.class, SlowTests.class })
public void testFileNamePlusEncoding() throws StorageException, URISyntaxException, IOException,
InterruptedException {
CloudFile originalFile = FileTestHelper.uploadNewFile(this.share, 1024 , null);
CloudFile copyFile = this.share.getRootDirectoryReference().getFileReference(originalFile.getName() + "copyed");
copyFile.startCopy(originalFile);
FileTestHelper.waitForCopy(copyFile);
copyFile.downloadAttributes();
originalFile.downloadAttributes();
FileProperties prop1 = copyFile.getProperties();
FileProperties prop2 = originalFile.getProperties();
assertEquals(prop1.getCacheControl(), prop2.getCacheControl());
assertEquals(prop1.getContentEncoding(), prop2.getContentEncoding());
assertEquals(prop1.getContentDisposition(), prop2.getContentDisposition());
assertEquals(prop1.getContentLanguage(), prop2.getContentLanguage());
assertEquals(prop1.getContentMD5(), prop2.getContentMD5());
assertEquals(prop1.getContentType(), prop2.getContentType());
}