Update AbstractServerTest.getDefaultTestModule() to stop returning ServerTestModule as all subclasses override the method.
Update AbstractServerTest to clear the JNDI setup in the postTest() method.
Update test to decouple form FlushingTestModule
Avoid invoking shutdownTransactionSynchronizationRegistry() in setupTransactionSynchronizationRegistry() as it resets the JNDI context
Update JNDI chnge description
Bind BeanManager into JNDI if it is present in the Guice Injector.
Introduce a minimalistic BeanManager implementation used during testing.
Refactor ServerTestModule so that it is not able to be extended and ensure it is added to modules in AbstractServerTest by default.
Fix test
Migrate all the type listeners to the server package.