@Test
public void testAddPolicies_Forced() throws UnsupportedEncodingException {

	// Assert
	final boolean force = true;
	final PolicyContentDto addPolicyRequestDto1 = new PolicyContentDto();
	addPolicyRequestDto1.setPolicy(POLICY_STRING1.getBytes("UTF-8"));
	final PolicyContentDto addPolicyRequestDto2 = new PolicyContentDto();
	addPolicyRequestDto2.setPolicy(POLICY_STRING2.getBytes("UTF-8"));
	final PolicyContentContainerDto addPolicyRequestContainerDto = new PolicyContentContainerDto(
			addPolicyRequestDto1, addPolicyRequestDto2);
	final Policy policy1 = mock(Policy.class);
	when(policy1.getId()).thenReturn(POLICY_ID1);
	final Policy policy2 = mock(Policy.class);
	when(policy2.getId()).thenReturn(POLICY_ID2);
	when(modelMapper.map(addPolicyRequestDto1, Policy.class)).thenReturn(
			policy1);
	when(modelMapper.map(addPolicyRequestDto2, Policy.class)).thenReturn(
			policy2);
	final PolicyMetadataDto addPolicyResponseDto1 = mock(PolicyMetadataDto.class);
	final PolicyMetadataDto addPolicyResponseDto2 = mock(PolicyMetadataDto.class);
	when(modelMapper.map(policy1, PolicyMetadataDto.class)).thenReturn(
			addPolicyResponseDto1);
	when(modelMapper.map(policy2, PolicyMetadataDto.class)).thenReturn(
			addPolicyResponseDto2);
	// Act
	sut.addPolicies(addPolicyRequestContainerDto, force);
	// Assert
	verify(policyRepository, times(1)).save(anyListOf(Policy.class));
}