@Test(expected = WrongReferenceAttributeValueException.class)
public void testUniqClash() throws Exception {

	System.out.println("testUniqClash");
	attributeToCheck.setValue(new ArrayList<>(Arrays.asList("my@example.com", "my2@google.com")));
	when(am.getPerunBeanIdsForUniqueAttributeValue(eq(session), argThat(new BeanAttributeMatcher("member"))))
		.thenReturn(Sets.newHashSet(new Pair<>(10, 0)));
	classInstance.checkAttributeSemantics(session, group, attributeToCheck);
}