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

	// Arrange
	List<byte[]> policyListMock = Arrays.asList(new byte[1]);
	EhrPolicyUpdateRsp expectedResponse = mock(EhrPolicyUpdateRsp.class);
	when(webService.updatePolicies(any(EhrPolicyUpdateRq.class)))
			.thenReturn(expectedResponse);
	// Act
	EhrPolicyUpdateRsp actualResponse = sat.updatePolicies(policyListMock);
	// Assert
	verify(webService, times(1)).updatePolicies(
			argThat(new UpdatePoliciesArgumentMatcher(policyListMock)));
	assertEquals(expectedResponse, actualResponse);
}