@Test
public void testMap_DoNotShareClinicalDocumentTypeCodes() {

	// Arrange
	Consent consent = new Consent();
	setDataBasicConsent(consent);
	// Set Do Not Shares
	Set<ConsentDoNotShareClinicalDocumentTypeCode> doNotShareClinicalDocumentTypeCodes = new HashSet<ConsentDoNotShareClinicalDocumentTypeCode>();
	ClinicalDocumentTypeCode clinicalDocumentTypeCode = new ClinicalDocumentTypeCode();
	clinicalDocumentTypeCode.setCode("code");
	clinicalDocumentTypeCode.setDisplayName("display name");
	clinicalDocumentTypeCode.setCodeSystem("code system");
	clinicalDocumentTypeCode.setCodeSystemName("code system name");
	ConsentDoNotShareClinicalDocumentTypeCode consentDoNotShareClinicalDocumentTypeCode = new ConsentDoNotShareClinicalDocumentTypeCode(
			clinicalDocumentTypeCode);
	doNotShareClinicalDocumentTypeCodes
			.add(consentDoNotShareClinicalDocumentTypeCode);
	consent.setDoNotShareClinicalDocumentTypeCodes(doNotShareClinicalDocumentTypeCodes);
	// Act
	ConsentDto consentDto = sut.map(consent);
	// Assert
	assertNotNull("typecodesdto is empty",
			consentDto.getDoNotShareClinicalConceptCodes());
	assertEquals(consent.getDoNotShareClinicalDocumentTypeCodes().size(),
			consentDto.getDoNotShareClinicalDocumentTypeCodes().size());
}