// the file should have the new content
Assert.assertEquals(newContent, IOUtils.toString(new FileReader(APILocator.getFileAPI().getAssetIOFile(file))));
// testing that webdav returns the same
ByteArrayOutputStream out=new ByteArrayOutputStream();
wtFile.download(out, null);
Assert.assertEquals(newContent,new String(out.toByteArray()));
}
/**
* https://github.com/dotCMS/dotCMS/issues/3656