@Test(expected = WrongAttributeValueException.class)
public void testUcoEmail() throws Exception {

	System.out.println("testUcoEmail");
	when(adNameAttr.getValue()).thenReturn(null);
	when(am.getPerunBeanIdsForUniqueAttributeValue(eq(session),any(Attribute.class))).thenReturn(Sets.newHashSet());
	attributeToCheck.setValue(Lists.newArrayList("451570@muni.cz"));
	classInstance.checkAttributeSyntax(session, group, resource, attributeToCheck);
}