@Test
public void testAssertNotExistsInPolicyRepositoryStringFunctionOfStringPolicy_Exist_Throws() {

	// Arrange
	thrown.expect(PolicyAlreadyExistsException.class);
	final String policyId1 = "policyId1";
	final String policyId2 = "policyId2";
	final PolicyDto p1 = new PolicyDto();
	p1.setId(policyId1);
	final PolicyDto p2 = new PolicyDto();
	p2.setId(policyId2);
	final Function<String, Policy> policyFindFunction = s -> s
			.equals(policyId1) ? null : new Policy();
	// Act
	AssertionUtils.assertNotExistsInPolicyRepository(policyId2,
			policyFindFunction);
}