ODocument documentSource = new ODocument();
documentSource.fromJSON("{FirstName:\"Student A 0\",in_EHasGoodStudents:[#57:0],@fieldTypes:\"in_EHasGoodStudents=g\"}");
ORidBag bag = documentSource.field("in_EHasGoodStudents");
Assert.assertEquals(bag.size(), 1);
OIdentifiable rid = bag.rawIterator().next();
Assert.assertTrue(rid.getIdentity().getClusterId() == 57);
Assert.assertTrue(rid.getIdentity().getClusterPosition().intValue() == 0);
}
public void testNestedLinkCreation() {