@SuppressWarnings("unchecked")
@Test(expected = SpiritAdapterException.class)
public void testAppendDocument_Throws_SpiritAdapterException()
		throws SpiritAdapterException, EhrException_Exception {

	// Arrange
	EhrPatientClientDto patientMock = mock(EhrPatientClientDto.class);
	DocumentClientDto oldDocumentMock = mock(DocumentClientDto.class);
	DocumentClientDto documentToAppendMock = mock(DocumentClientDto.class);
	String stateIdMock = "stateIdMock";
	when(webService.appendDocument(isA(XdsSrcApRpReq.class))).thenThrow(
			EhrException_Exception.class);
	// Act
	sat.appendDocument(patientMock, oldDocumentMock, documentToAppendMock,
			stateIdMock);
}