class urn_perun_facility_attribute_def_def_homeMountPoint_passwd_scp extends FacilityAttributesModuleAbstract implements FacilityAttributesModuleImplApi {

	@Override
	public void checkAttributeSemantics(PerunSessionImpl perunSession, Facility facility, Attribute attribute) throws WrongReferenceAttributeValueException {
		if (attribute.getValue() == null) throw new WrongReferenceAttributeValueException(attribute, null, facility, null, "Value can't be null");
	}

}

class urn_perun_facility_attribute_def_def_homeMountPoint_passwd_scpTest {

	private static urn_perun_facility_attribute_def_def_homeMountPoint_passwd_scp classInstance;
	private static PerunSessionImpl session;
	private static Facility facility;
	private static Attribute attributeToCheck;

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

		System.out.println("testCheckAttributeSemanticsWithoutReqAttribute()");
		attributeToCheck.setValue(null);

		classInstance.checkAttributeSemantics(session, facility, attributeToCheck);
	}

}