public ShardingSphereDistributionTransactionManager getTransactionManager(final TransactionType transactionType) {
        if (TransactionType.LOCAL != transactionType) {
            ShardingSpherePreconditions.checkNotNull(distributionTransactionManager, () -> new TransactionManagerNotFoundException(transactionType));
        }
        return distributionTransactionManager;
    }
@Test
    void assertGetEngine() {
        assertThat(transactionManagerEngine.getTransactionManager(TransactionType.XA), instanceOf(ShardingSphereTransactionManagerFixture.class));
    }