### Question:
AlbumHandler { @Operation(httpMethods = "GET", path = "/@supportedFields") public List<Object> supportedFields(RequestItem request) { String container = Objects.firstNonNull(request.getToken().getContainer(), ContainerConfig.DEFAULT_CONTAINER); return config.getList(container, "${Cur['gadgets.features'].opensocial.supportedFields.album}"); } @Inject  AlbumHandler(AlbumService service, ContainerConfig config); @Operation(httpMethods = "POST", bodyParam = "album") Future<?> create(SocialRequestItem request); @Operation(httpMethods = "GET") Future<?> get(SocialRequestItem request); @Operation(httpMethods = "PUT", bodyParam = "album") Future<?> update(SocialRequestItem request); @Operation(httpMethods = "DELETE") Future<?> delete(SocialRequestItem request); @Operation(httpMethods = "GET", path = "/@supportedFields") List<Object> supportedFields(RequestItem request);  }### Answer:
@Test public void testSupportedFields() throws Exception { String path = "/albums/@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("title", received.get(1).toString()); assertEquals("location", received.get(2).toString()); verify(); }