@Test
public void testDeleteDocument() throws EhrException_Exception,
		SpiritAdapterException {

	FolderClientDto folderMock = mock(FolderClientDto.class);
	DocumentClientDto documentMock = mock(DocumentClientDto.class);
	EhrPatientClientDto patientMock = mock(EhrPatientClientDto.class);
	final XdsSrcSubmitRsp responseMock = mock(XdsSrcSubmitRsp.class);
	when(webService.deleteDocument(any(XdsSrcDeleteReq.class))).thenReturn(
			responseMock);
	// Act
	XdsSrcSubmitRsp actualResponse = sat.deleteDocument(folderMock,
			documentMock, patientMock, stateId);
	// Assert
	verify(webService, times(1)).deleteDocument(any(XdsSrcDeleteReq.class));
	assertEquals(responseMock, actualResponse);
}