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

	System.out.println("testWrongValue()");
	attributeToCheck.setValue("bad@value");
	when(resourcesManagerBl.getAssignedResources(sess, group))
		.thenReturn(Collections.singletonList(resource1));
	classInstance.checkAttributeSyntax(sess, group, attributeToCheck);
}