@Test
public void testHandleMessage() throws Throwable {

	// Arrange
	final String data = "1";
	final long dataLong = 1L;
	final String patientEid = "patientEid";
	final String xacmlCcdId = "xacmlCcdId";
	final String patientMrn = "patientMrn";
	final RevokedConsentDto revokedConsentDto = mock(RevokedConsentDto.class);
	when(consentGetter.getRevokedConsentDto(dataLong)).thenReturn(
			revokedConsentDto);
	when(revokedConsentDto.getPatientEid()).thenReturn(patientEid);
	when(revokedConsentDto.getXacmlCcdId()).thenReturn(xacmlCcdId);
	when(revokedConsentDto.getPatientMrn()).thenReturn(patientMrn);
	// Act
	sut.handleMessage(data);
	// Assert
	verify(polRepClient, times(1)).deletePolicy(xacmlCcdId);
	verify(auditService, times(1)).audit(eq(sut), anyString(),
			eq(POLREP_DELETE_CONSENT), eq(patientMrn),
			anyMapOf(PredicateKey.class, String.class));
}