assertNotNull(entity.getForceOwner().getId(), "Force.com Owner id was not found");
assertNotNull(entity.getForceOwner().getName(), "Force.com Owner name was not found");
// Assert that the Force.com Owner is in the cache
ObjectManager om = (ObjectManager) em.getDelegate();
assertNotNull(om.getObjectFromCache(new StringIdentity(ForceOwner.class, entity.getForceOwner().getId())));
tx.commit();
// Force.com Owner is eagerly fetched on AccountCustomFields so
// it should be available outside of the find transaction
assertNotNull(entity.getForceOwner(), "Force.com Owner field did not get eagerly fetched");