@Test
public void testMap_DoNotShareSensitivityPolicyCode() {

	// Arrange
	Consent consent = new Consent();
	setDataBasicConsent(consent);
	// Set Do Not Shares
	Set<ConsentDoNotShareSensitivityPolicyCode> doNotShareSensitivityPolicyCodes = new HashSet<ConsentDoNotShareSensitivityPolicyCode>();
	ValueSetCategory valueSetCategory = new ValueSetCategory();
	valueSetCategory.setCode("code");
	valueSetCategory.setName("display name");
	ConsentDoNotShareSensitivityPolicyCode consentDoNotShareSensitivityPolicyCode = new ConsentDoNotShareSensitivityPolicyCode(
			valueSetCategory);
	doNotShareSensitivityPolicyCodes
			.add(consentDoNotShareSensitivityPolicyCode);
	consent.setDoNotShareSensitivityPolicyCodes(doNotShareSensitivityPolicyCodes);
	// Act
	ConsentDto consentDto = sut.map(consent);
	// Assert
	assertNotNull("typecodesdto is empty",
			consentDto.getDoNotShareSensitivityPolicyCodes());
	assertEquals(consent.getDoNotShareSensitivityPolicyCodes().size(),
			consentDto.getDoNotShareSensitivityPolicyCodes().size());
}