@Test
public void testSetContent_ConsentSignedEvent_Is_Fired() {

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