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

	// Arrange
	final String policySetIdMock = "policySetIdMock";
	final String policyIdMock = "policyIdMock";
	List<String> policySetIdListMock = Arrays.asList(policySetIdMock);
	List<String> policyIdListMock = Arrays.asList(policyIdMock);
	EhrPolicyDiscardRsp expectedResponse = mock(EhrPolicyDiscardRsp.class);
	when(webService.discardPolicies(any(EhrPolicyDiscardRq.class)))
			.thenReturn(expectedResponse);
	// Act
	EhrPolicyDiscardRsp actualResponse = sat.discardPolicies(
			policySetIdListMock, policyIdListMock, stateId);
	// Assert
	verify(webService, times(1)).discardPolicies(
			argThat(new DiscardPoliciesArgumentMatcher(policySetIdListMock,
					policyIdListMock)));
	assertEquals(expectedResponse, actualResponse);
}