You identified exactly that part of code that I intend to touch with this issue
Having said that there are quite some reasons for this refactoring:
1. ATM we test JDO but not JDOManager
2. I want to delete JDO with 1.0 release
3. There are some tests of features (loading multiple jdo-conf, JDOConfFactory) that can only be tested with JDOManager as JDO don't support them.
(e.g. tests/jdo.test1214, tests/jdo.test1781 or bugs/jdo.bug881).
I also intend to improve JDOCategory to allow execution of J2EE tests as part of our current categories and not as it stands right now as a seperate category.
IMO we should finish the whole refactoring of tests (
CASTOR-755, CASTOR-943, CASTOR-1052, CASTOR-1096, CASTOR-1164) latest for 1.0 but better for 0.9.