Assert.assertEquals(loadedB2.getInhB2(), Arrays.asList("one", "two", "three"));
loadedB2 = session.loadOne(TpcInheritB2.class, 3);
Assert.assertTrue(loadedB2.getInhB2() instanceof LazyList);
Assert.assertEquals(loadedB2.getInhB2(), Arrays.asList("one", "two", "three"));
TpcInheritC loadedC = (TpcInheritC) session.loadOne(TpcBaseEntity.class, 4);
Assert.assertTrue(loadedC.getInhC() instanceof LazyMap);
Assert.assertEquals(loadedC.getInhC().keySet(), new HashSet<String>(Arrays.asList("one", "two", "three")));
loadedC = session.loadOne(TpcInheritC.class, 4);
Assert.assertTrue(loadedC.getInhC() instanceof LazyMap);
Assert.assertEquals(loadedC.getInhC().keySet(), new HashSet<String>(Arrays.asList("one", "two", "three")));