AdapterComponentDocRegistryProxyNoOpImpl implements AdapterComponentDocRegistryProxy { @Override public AdhocQueryResponse registryStoredQuery(AdhocQueryRequest request, AssertionType assertion) { LOG.trace("Using NoOp Implementation for Adapter Component Doc Registry Service"); AdhocQueryResponse response = new AdhocQueryResponse(); response.setRegistryObjectList(new RegistryObjectListType()); response.setStatus(DocumentConstants.XDS_QUERY_RESPONSE_STATUS_SUCCESS); return response; }  @Override AdhocQueryResponse registryStoredQuery(AdhocQueryRequest request, AssertionType assertion);  }
@Test public void hasRegistryObjectList() throws Exception { AdapterComponentDocRegistryProxyNoOpImpl impl = new AdapterComponentDocRegistryProxyNoOpImpl(); AdhocQueryResponse response = impl.registryStoredQuery(null, null); AdhocQueryResponseAsserter.assertSchemaCompliant(response); }