@Test
public void testMap_DoNotShareClinicalDocumentSectionTypeCode() {

	// Arrange
	Consent consent = new Consent();
	setDataBasicConsent(consent);
	// Set Do Not Shares
	Set<ConsentDoNotShareClinicalDocumentSectionTypeCode> doNotShareClinicalDocumentSectionTypeCodes = new HashSet<ConsentDoNotShareClinicalDocumentSectionTypeCode>();
	MedicalSection medicalSection = new MedicalSection();
	medicalSection.setCode("code");
	medicalSection.setName("display name");
	ConsentDoNotShareClinicalDocumentSectionTypeCode consentDoNotShareClinicalDocumentSectionTypeCode = new ConsentDoNotShareClinicalDocumentSectionTypeCode(
			medicalSection);
	doNotShareClinicalDocumentSectionTypeCodes
			.add(consentDoNotShareClinicalDocumentSectionTypeCode);
	consent.setDoNotShareClinicalDocumentSectionTypeCodes(doNotShareClinicalDocumentSectionTypeCodes);
	// Act
	ConsentDto consentDto = sut.map(consent);
	// Assert
	assertNotNull("typecodesdto is empty",
			consentDto.getDoNotShareClinicalDocumentSectionTypeCodes());
	assertEquals(consent.getDoNotShareClinicalDocumentSectionTypeCodes()
			.size(), consentDto
			.getDoNotShareClinicalDocumentSectionTypeCodes().size());
}