Reopened since this isn't working.
The only reason the test passed is because the default constructor
was changed to set preinstantiated to true.
If it uses the default constructor then it is not using preinstantiated object.
Will look into this one.
The problem is that preinstantiated lookup needs to pass MetaDataVisitor.initialVisit() for meta data node stack lookup and controller set up.
And test case simply uses plain meta data - no controller.
That is correct. The tests have two versions, a plain
version that constructs the BeanMetaData in line and an xml version.
The xml version does use the controller, but the inline version
only uses the configurator.
You can change the inline version to use a full controller.