java.io.File tmp=java.io.File.createTempFile("filetest", ".txt");
FileUtils.writeStringToFile(tmp, "this is a test text 888");
try{
File uploaded = hh.uploadFile(tmp);
} catch (Exception e){
//This is expected: User does not have permission to publish contentlets
Assert.assertTrue(e instanceof InternalServerError);
}