WFLY-2374 Extract reusable code from ServletLifecycleCallbackInterceptionTestCase