public function testRename()
{
$result = array('status' => 'error', 'message' => (string) $this->l10n->t('You don\'t have permission to rename this document'));
$this->request->post = array('fileId' => 500, 'name' => 'newname.ext');
$response = $this->controller->rename(500);
}