$result = $api->uploadFile('./test.xml', $upload_params);
var_dump($result);
echo "<br />This is a upload file<br />";
//try to upload content
$result = $api->uploadContent($content, $upload_params);
var_dump($result);
echo "<br />This is a upload content<br />";
//try to download file
$result = $api->downloadFile($fileUri, $locale);
var_dump($result);
echo "<br />This is a download file<br />";
//try to retrieve file status
$result = $api->getStatus($fileUri, $locale);
var_dump($result);
echo "<br />This is a get status<br />";
//try get files list
$result = $api->getList($locale);
var_dump($result);
echo "<br />This is a get list<br />";
//try to rename file
$result = $api->renameFile($fileUri, $newFileUri);
var_dump($result);
echo "<br />This is a rename file<br />";
//try to import
$result = $api->import($newFileUri, $fileType, $locale, './test.xml', true, $translationState);
var_dump($result);
echo "<br />This is a import file<br />";
//try to delete file
$result = $api->deleteFile($newFileUri);
var_dump($result);
echo "<br />This is delete file<br />";
 /**
  * @covers SmartlingAPI::import
  */
 public function testImport()
 {
     $this->assertNotEmpty($this->object->import('translated.xml', 'xml', 'ru-RU', '../test.xml', true, 'PUBLISHED'));
     $this->assertInternalType('string', $this->object->import('translated.xml', 'xml', 'ru-RU', '../test.xml', true, 'PUBLISHED'));
 }