@Test
public void testGetSubmissionSetAndContents() throws JAXBException, XdsbRegistryAdapterException {

	// Arrange
	String submissionSetPatientIdMock = "submissionSetPatientIdMock";
	AdhocQueryRequest getSubmissionSetAndContentsRequestMock = mock(AdhocQueryRequest.class);
	AdhocQueryResponse getSubmissionSetAndContentsResponseMock = mock(AdhocQueryResponse.class);
	when(
			xdsbRegistryAdapterSpy
					.createGetSubmissionSetAndContentsRequest(submissionSetPatientIdMock, ""))
			.thenReturn(getSubmissionSetAndContentsRequestMock);
	when(
			xdsbRegistryMock
					.registryStoredQuery(getSubmissionSetAndContentsRequestMock))
			.thenReturn(getSubmissionSetAndContentsResponseMock);
	// Act
	AdhocQueryResponse actualResponse = xdsbRegistryAdapterSpy
			.getSubmissionSetAndContents(submissionSetPatientIdMock, "");
	// Assert
	assertEquals(getSubmissionSetAndContentsResponseMock, actualResponse);
}