urn_perun_facility_attribute_def_def_shells extends FacilityAttributesModuleAbstract implements FacilityAttributesModuleImplApi { @Override public void checkAttributeSyntax(PerunSessionImpl perunSession, Facility facility, Attribute attribute) throws WrongAttributeValueException { List<String> shells = attribute.valueAsList(); if (shells == null) return; for (String st : shells) { perunSession.getPerunBl().getModulesUtilsBl().checkFormatOfShell(st, attribute); } }  @Override void checkAttributeSyntax(PerunSessionImpl perunSession, Facility facility, Attribute attribute); @Override void checkAttributeSemantics(PerunSessionImpl perunSession, Facility facility, Attribute attribute); @Override Attribute fillAttribute(PerunSessionImpl session, Facility facility, AttributeDefinition attribute); @Override AttributeDefinition getAttributeDefinition();  }
@Test public void testCheckAttributeSyntax() throws Exception { System.out.println("testCheckAttributeSyntax()"); ArrayList<String> shells = new ArrayList<>(); shells.add("/bin/bash"); shells.add("/bin/csh"); attribute.setValue(shells); classInstance.checkAttributeSemantics(session, new Facility(), attribute); }