public boolean isLocalTransaction() {
        return TransactionType.LOCAL == transactionType;
    }
@Test
    void assertIsLocalTransaction() {
        connectionTransaction = new ConnectionTransaction(getLocalTransactionRule(), new TransactionConnectionContext());
        assertTrue(connectionTransaction.isLocalTransaction());
        connectionTransaction = new ConnectionTransaction(getXATransactionRule(), new TransactionConnectionContext());
        assertFalse(connectionTransaction.isLocalTransaction());
    }