parent.registerConstructor(Touchable.class, AlternativeTouchable.class);
child.registerConstructor("key", SimpleTouchable.class);
child.registerConstructor(DependsOnTouchable.class);
DependsOnTouchable dot = (DependsOnTouchable) child.getInstanceOfType(DependsOnTouchable.class);
assertEquals(AlternativeTouchable.class, dot.getTouchable().getClass());
}