@Test public void ConstructorInjection() { Session session = SessionUtil.openSession(ChildType.class, ParentType.class, ParentServiceType.class); session.addParent(TEST.NS, session); ChildType child = session.getBean(ChildType.class, new UID(TEST.NS, "child")); assertNotNull(child); assertNotNull(child.parent); }