public void testContactIsHome2()
{
Metadata metadata = Repository.getMetadata();
Metaclass clazz = metadata.getMetaclass("Contact");
AttributeMeta attr = clazz.getAttributeMeta("isHome2");
// (if (null? (@ supportGroup)) #f (@ firstAddress isHome))
assertTrue(attr.isClientCalculable());
assertNotNull(attr.getValueDependencyAssociations());
Object[] deps = Pair.toArray(attr.getValueDependencyAssociations());
assertEquals(2, deps.length);
assertEquals(Pair.list("firstAddress", "isHome"), deps[0]);
assertEquals(Pair.list("supportGroup"), deps[1]);
}