public ShardingSphereTransactionManagerEngine getResource() {
        return resource.get();
    }
@Test
    void assertInitTransactionRuleWithMultiDatabaseType() {
        try (TransactionRule actual = new TransactionRule(createTransactionRuleConfiguration(), Collections.singletonMap(SHARDING_DB_1, createDatabase()))) {
            assertThat(actual.getResource().getTransactionManager(TransactionType.XA), instanceOf(ShardingSphereTransactionManagerFixture.class));
        }
    }