public void testDataCache() {
assertNull(_mapping.getDataCacheName());
}
public void testFetchGroups() {
FetchGroup fg = _mapping.getFetchGroup("detail");
assertNotNull(fg);
assertFalse(fg.isPostLoad());
FieldMapping fm = _mapping.getFieldMapping("rel");
assertEquals(1, fm.getCustomFetchGroups().length);
assertEquals("detail", fm.getCustomFetchGroups()[0]);
assertEquals(-1, fg.getRecursionDepth(fm));
fm = _mapping.getFieldMapping("seq");
assertEquals(1, fm.getCustomFetchGroups().length);
assertEquals("detail", fm.getCustomFetchGroups()[0]);
assertEquals(1, fg.getRecursionDepth(fm));
}