NhinDocQueryProxyNoOpImpl implements NhinDocQueryProxy { @NwhinInvocationEvent(beforeBuilder = AdhocQueryRequestDescriptionBuilder.class, afterReturningBuilder = AdhocQueryResponseDescriptionBuilder.class, serviceType = "Document Query", version = "") @Override public AdhocQueryResponse respondingGatewayCrossGatewayQuery(AdhocQueryRequest request, AssertionType assertion, NhinTargetSystemType target) { AdhocQueryResponse response = new AdhocQueryResponse(); response.setRegistryObjectList(new RegistryObjectListType()); response.setStatus(DocumentConstants.XDS_QUERY_RESPONSE_STATUS_SUCCESS); return response; }  @NwhinInvocationEvent(beforeBuilder = AdhocQueryRequestDescriptionBuilder.class, afterReturningBuilder = AdhocQueryResponseDescriptionBuilder.class, serviceType = "Document Query", version = "") @Override AdhocQueryResponse respondingGatewayCrossGatewayQuery(AdhocQueryRequest request, AssertionType assertion,
            NhinTargetSystemType target);  }
@Test public void responseHasObjectTypeList() throws Exception { NhinDocQueryProxyNoOpImpl impl = new NhinDocQueryProxyNoOpImpl(); AdhocQueryResponse response = impl.respondingGatewayCrossGatewayQuery(null, null, null); AdhocQueryResponseAsserter.assertSchemaCompliant(response); }