public boolean isInConnectionHeldTransaction(final TransactionType transactionType) {
        return inTransaction && TransactionType.BASE != transactionType;
    }
@Test
    void assertIsInConnectionHeldTransaction() {
        TransactionStatus transactionStatus = new TransactionStatus();
        transactionStatus.setInTransaction(true);
        boolean actual = transactionStatus.isInConnectionHeldTransaction(TransactionType.XA);
        assertTrue(actual);
    }