public void testListOfInterface() {
try {
ObjectContentManager ocm = this.getObjectContentManager();
EntityA a = new EntityA();
a.setPath("/test");
List<MyInterface> bList = new ArrayList<MyInterface>();
EntityB b = new EntityB();
b.setId("ID_B");
b.setName("NAME_B");
bList.add(b);
a.setEntityB(bList);
ocm.insert(a);
ocm.save();
a = (EntityA) ocm.getObject("/test");
bList = a.getEntityB();
assertNotNull(bList);
assertEquals(1, bList.size());
ocm.remove("/test");