MAttr attribute = new MAttr();
attribute.setSchema(actualSchema);
attribute.setOwner(membership);
attribute.addValue("yellow", AttributableUtil.getInstance(AttributableType.MEMBERSHIP));
membership.addAttribute(attribute);
MAttr actualAttribute = attrDAO.save(attribute);
assertNotNull(actualAttribute);
membership = membershipDAO.find(1L);