@SuppressWarnings("unchecked")
@Test
public void testRetrievePolicies_Throws_SpiritAdapterException()
		throws SpiritAdapterException, EhrException_Exception {

	// Arrange
	final String policySetIdMock = "policySetIdMock";
	final String policyIdMock = "policyIdMock";
	final byte[] policyMock1 = "policyMock1".getBytes();
	final byte[] policyMock2 = "policyMock2".getBytes();
	List<String> policySetIdListMock = Arrays.asList(policySetIdMock);
	List<String> policyIdListMock = Arrays.asList(policyIdMock);
	List<byte[]> policyListMock = Arrays.asList(policyMock1, policyMock2);
	EhrPolicyRetrieveRsp expectedResponse = mock(EhrPolicyRetrieveRsp.class);
	when(expectedResponse.getPolicyList()).thenReturn(policyListMock);
	when(webService.retrievePolicies(any(EhrPolicyRetrieveRq.class)))
			.thenThrow(EhrException_Exception.class);
	thrown.expect(SpiritAdapterException.class);
	// Act
	@SuppressWarnings("unused")
	List<byte[]> actualResponse = sat.retrievePolicies(policySetIdListMock,
			policyIdListMock);
}