upload_mappings() public méthode

public upload_mappings ( $options = [] )
 function test35_upload_mapping()
 {
     try {
         $this->api->delete_upload_mapping("api_test_upload_mapping");
     } catch (Exception $e) {
     }
     $this->api->create_upload_mapping("api_test_upload_mapping", array("template" => "http://cloudinary.com"));
     $result = $this->api->upload_mapping("api_test_upload_mapping");
     $this->assertEquals($result["template"], "http://cloudinary.com");
     $this->api->update_upload_mapping("api_test_upload_mapping", array("template" => "http://res.cloudinary.com"));
     $result = $this->api->upload_mapping("api_test_upload_mapping");
     $this->assertEquals($result["template"], "http://res.cloudinary.com");
     $result = $this->api->upload_mappings();
     $this->assertContains(array("folder" => "api_test_upload_mapping", "template" => "http://res.cloudinary.com"), $result["mappings"]);
     $this->api->delete_upload_mapping("api_test_upload_mapping");
     $result = $this->api->upload_mappings();
     $this->assertNotContains("api_test_upload_mapping", $result["mappings"]);
 }