All of our JTA-related testing uses Atomikos and auto-configuring JTA with a TransactionManager
retrieved from JNDI doesn't appear to be tested at all at the moment. This will become a bigger problem after Atomikos support has been removed as our JTA auto-configuration will be untested at that point.
https://github.com/h-thurow/Simple-JNDI or similar may be useful here.