EntityDocQueryProxyNoOpImpl implements EntityDocQueryProxy { @Override public AdhocQueryResponse respondingGatewayCrossGatewayQuery(AdhocQueryRequest msg, AssertionType assertion, NhinTargetCommunitiesType targets) { AdhocQueryResponse response = new AdhocQueryResponse(); response.setRegistryObjectList(new RegistryObjectListType()); response.setStatus(DocumentConstants.XDS_QUERY_RESPONSE_STATUS_SUCCESS); return response; }  @Override AdhocQueryResponse respondingGatewayCrossGatewayQuery(AdhocQueryRequest msg, AssertionType assertion,
            NhinTargetCommunitiesType targets);  }
@Test public void responseHasObjectTypeList() throws Exception { EntityDocQueryProxyNoOpImpl impl = new EntityDocQueryProxyNoOpImpl(); AdhocQueryResponse response = impl.respondingGatewayCrossGatewayQuery(null, null, null); AdhocQueryResponseAsserter.assertSchemaCompliant(response); }