String path = "/mediaItems/@supportedFields";
RestHandler operation = registry.getRestHandler(path, "GET");
replay();
@SuppressWarnings("unchecked")
List<Object> received = (List<Object>) operation.execute(Maps.<String, String[]>newHashMap(),
null, token, converter).get();
assertEquals(3, received.size());
assertEquals("id", received.get(0).toString());
assertEquals("language", received.get(1).toString());
assertEquals("title", received.get(2).toString());