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

	// Arrange
	byte[] policy = { 0x01 };
	List<byte[]> policyListMock = Arrays.asList(policy);
	EhrPolicySubmitOrUpdateRsp expectedResponse = mock(EhrPolicySubmitOrUpdateRsp.class);
	when(
			webService
					.submitOrUpdatePolicies(any(EhrPolicySubmitOrUpdateRq.class)))
			.thenReturn(expectedResponse);
	// Act
	EhrPolicySubmitOrUpdateRsp actualResponse = sat.submitOrUpdatePolicy(
			policy, stateId);
	// Assert
	verify(webService, times(1)).submitOrUpdatePolicies(
			argThat(new SubmitOrUpdatePoliciesArgumentMatcher(
					policyListMock)));
	assertEquals(expectedResponse, actualResponse);
}