public void testGetUploadPreset() throws Exception {
// should allow getting a single upload_preset
String[] tags = { "a", "b", "c" };
Map context = Cloudinary.asMap("a", "b", "c", "d");
Transformation transformation = new Transformation();
transformation.width(100).crop("scale");
Map result = api.createUploadPreset(Cloudinary.asMap("unsigned", true,
"folder", "folder", "transformation", transformation, "tags",
tags, "context", context));
String name = result.get("name").toString();
Map preset = api.uploadPreset(name, Cloudinary.emptyMap());