assertEquals(sderived, actual);
SyncopeUser owner = userDAO.find(3L);
assertNotNull("did not get expected user", owner);
UDerAttr derAttr = new UDerAttr();
derAttr.setOwner(owner);
derAttr.setDerivedSchema(sderived);
derAttr = derAttrDAO.save(derAttr);
derAttrDAO.flush();
derAttr = derAttrDAO.find(derAttr.getId(), UDerAttr.class);
assertNotNull("expected save to work", derAttr);
String value = derAttr.getValue(owner.getAttributes());
assertNotNull(value);
assertFalse(value.isEmpty());
assertTrue(value.startsWith("vivaldi - 2010-10-20"));
assertTrue(value.endsWith("[]"));
}