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

	System.out.println("testSemanticsWithSameADNameAlreadySetElsewhere()");
	attributeToCheck.setValue("correctValue");
	reqAttribute1.setValue("ouTest1");
	reqAttribute2.setValue("ouTest2");
	when(resourcesManagerBl.getAssignedResources(sess, group))
		.thenReturn(Arrays.asList(resource1, resource2));
	classInstance.checkAttributeSemantics(sess, group, attributeToCheck);
}