@Test
public void testGetPolicies_Wildcard_Used() {

	// Arrange
	final String policyId = "policy*";
	final String wildcard = "*";
	final String policyIdLike = "policy%";
	final Policy policy1 = mock(Policy.class);
	final Policy policy2 = mock(Policy.class);
	final List<Policy> policyList = Arrays.asList(policy1, policy2);
	final PolicyDto getPolicyResponseDto1 = mock(PolicyDto.class);
	final PolicyDto getPolicyResponseDto2 = mock(PolicyDto.class);
	when(policyRepository.findAllByIdLike(policyIdLike)).thenReturn(
			policyList);
	when(modelMapper.map(policy1, PolicyDto.class)).thenReturn(
			getPolicyResponseDto1);
	when(modelMapper.map(policy2, PolicyDto.class)).thenReturn(
			getPolicyResponseDto2);
	// Act
	final PolicyContainerDto response = sut.getPolicies(policyId, wildcard);
	// Assert
	assertTrue(response.getPolicies().contains(getPolicyResponseDto1));
	assertTrue(response.getPolicies().contains(getPolicyResponseDto2));
}