@Qualifier(LAYER_ID)
private VectorLayer layer;
@Test
public void testSearchAttributes() throws Exception {
SearchAttributesRequest request = new SearchAttributesRequest();
request.setLayerId(LAYER_ID);
request.setAttributePath("manyToOneAttr");
SearchAttributesResponse response = (SearchAttributesResponse) dispatcher.execute(
SearchAttributesRequest.COMMAND, request, null, "en");
if (response.isError()) {
response.getErrors().get(0).printStackTrace();
}