@Test
public void testSetContent_ConsentRevokedEvent_Is_Fired() {

	// Arrange
	SignedPDFConsentRevocation sut = new SignedPDFConsentRevocation();
	byte[] content = new byte[] {};
	final Long consentId = (Long) 1L;
	
	ConsentRevokedEventHandler domainEventHandler = new ConsentRevokedEventHandler(new ConsentRevokedEvent(consentId));
	
	DomainEventManager.registerDomainEventService(new DomainEventServiceImpl());
	DomainEventManager.register(domainEventHandler);
	// Act
	sut.setContent(content, consentId);
	// Assert
	assertTrue(domainEventHandler.isEventFired());
}