@Override
    public void cleanUp(GlobalTransaction tx) {
        if (tx == null) {
            throw new EngineExecutionException("Global transaction does not exist. Unable to proceed without a valid global transaction context.",
                    FrameworkErrorCode.ObjectNotExists);
        }
        if (tx.getGlobalTransactionRole() == GlobalTransactionRole.Launcher) {
            TransactionHookManager.clear();
        }
    }
@Test
    public void testCleanUp() {
        MockGlobalTransaction mockGlobalTransaction = new MockGlobalTransaction();
        sagaTransactionalTemplate.cleanUp(mockGlobalTransaction);
    }