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

	System.out.println("testSemanticsGIDAlreadyUsed()");
	attributeToCheck.setValue(1);
	reqAttribute.setValue("name");
	reqAttribute2.setValue("different_name");
	classInstance.checkAttributeSemantics(sess, group, resource, attributeToCheck);
}