String path = "/people/@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(2, received.size());
assertEquals("id", received.get(0).toString());
@SuppressWarnings("unchecked")
Map<String, Object> map = (Map<String, Object>) received.get(1);