urn_perun_member_attribute_def_def_o365EmailAddresses_mu extends MemberAttributesModuleAbstract { @Override public Attribute fillAttribute(PerunSessionImpl sess, Member member, AttributeDefinition attrDef) throws WrongAttributeAssignmentException { return new Attribute(attrDef, getUserUcoEmails(sess, member)); }  void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Attribute attribute); @Override void checkAttributeSemantics(PerunSessionImpl sess, Member member, Attribute attribute); @Override List<String> getDependencies(); @Override Attribute fillAttribute(PerunSessionImpl sess, Member member, AttributeDefinition attrDef); @Override AttributeDefinition getAttributeDefinition();  }
@Test public void fillAttribute() throws Exception { System.out.println("fillAttribute()"); Attribute attribute = classInstance.fillAttribute(session, member, classInstance.getAttributeDefinition()); Object attributeValue = attribute.getValue(); assertThat(attributeValue, is(notNullValue())); List<String> expectedValue = Lists.newArrayList(uco + "@muni.cz"); assertThat(attributeValue, equalTo(expectedValue)); classInstance.checkAttributeSemantics(session, member, attribute); }