test_class.declarator: MOCK_SEATA_SERVER = new MockSeataServer()
test_class.modifier: private static final
test_class.original_string: private static final MockSeataServer MOCK_SEATA_SERVER = new MockSeataServer();
test_class.type: MockSeataServer
test_class.var_name: MOCK_SEATA_SERVER
test_class.declarator: dataSource = getDataSource()
test_class.modifier: private final
test_class.original_string: private final DataSource dataSource = getDataSource();
test_class.type: DataSource
test_class.var_name: dataSource
test_class.declarator: seataATShardingTransactionManager = new SeataATShardingTransactionManager()
test_class.modifier: private final
test_class.original_string: private final SeataATShardingTransactionManager seataATShardingTransactionManager = new SeataATShardingTransactionManager();
test_class.type: SeataATShardingTransactionManager
test_class.var_name: seataATShardingTransactionManager
test_class.declarator: requestQueue = MOCK_SEATA_SERVER.getMessageHandler().getRequestQueue()
test_class.modifier: private final
test_class.original_string: private final Queue<Object> requestQueue = MOCK_SEATA_SERVER.getMessageHandler().getRequestQueue();
test_class.type: Queue<Object>
test_class.var_name: requestQueue
test_class.declarator: responseQueue = MOCK_SEATA_SERVER.getMessageHandler().getResponseQueue()
test_class.modifier: private final
test_class.original_string: private final Queue<Object> responseQueue = MOCK_SEATA_SERVER.getMessageHandler().getResponseQueue();
test_class.type: Queue<Object>
test_class.var_name: responseQueue
test_class.file: shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/test/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingTransactionManagerTest.java
test_class.identifier: SeataATShardingTransactionManagerTest
test_case.body: @Test
      public void assertInit() {
          Map<String, DataSource> actual = getDataSourceMap();
          assertThat(actual.size(), is(1));
          assertThat(actual.get("demo_ds"), instanceOf(DataSourceProxy.class));
          assertThat(seataATShardingTransactionManager.getTransactionType(), is(TransactionType.BASE));
      }
test_case.class_method_signature: SeataATShardingTransactionManagerTest.assertInit()
test_case.full_signature: @Test public void assertInit()
test_case.identifier: assertInit
test_case.invocations: getDataSourceMap assertThat size is assertThat get instanceOf assertThat getTransactionType is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertInit()
focal_class.declarator: dataSourceMap = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, DataSource> dataSourceMap = new HashMap<>();
focal_class.type: Map<String, DataSource>
focal_class.var_name: dataSourceMap
focal_class.declarator: applicationId
focal_class.modifier: private final
focal_class.original_string: private final String applicationId;
focal_class.type: String
focal_class.var_name: applicationId
focal_class.declarator: transactionServiceGroup
focal_class.modifier: private final
focal_class.original_string: private final String transactionServiceGroup;
focal_class.type: String
focal_class.var_name: transactionServiceGroup
focal_class.declarator: enableSeataAT
focal_class.modifier: private final
focal_class.original_string: private final boolean enableSeataAT;
focal_class.type: boolean
focal_class.var_name: enableSeataAT
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/SeataATShardingTransactionManager.java
focal_class.identifier: SeataATShardingTransactionManager
focal_class.interfaces: implements ShardingTransactionManager
focal_class.class_method_signature: SeataATShardingTransactionManager.SeataATShardingTransactionManager()
focal_class.full_signature: public  SeataATShardingTransactionManager()
focal_class.identifier: SeataATShardingTransactionManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SeataATShardingTransactionManager()
focal_class.class_method_signature: SeataATShardingTransactionManager.init(final DatabaseType databaseType, final Collection<ResourceDataSource> resourceDataSources)
focal_class.full_signature: @Override public void init(final DatabaseType databaseType, final Collection<ResourceDataSource> resourceDataSources)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (final DatabaseType databaseType, final Collection<ResourceDataSource> resourceDataSources)
focal_class.return: void
focal_class.signature: void init(final DatabaseType databaseType, final Collection<ResourceDataSource> resourceDataSources)
focal_class.class_method_signature: SeataATShardingTransactionManager.initSeataRPCClient()
focal_class.full_signature: private void initSeataRPCClient()
focal_class.identifier: initSeataRPCClient
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initSeataRPCClient()
focal_class.class_method_signature: SeataATShardingTransactionManager.getTransactionType()
focal_class.full_signature: @Override public TransactionType getTransactionType()
focal_class.identifier: getTransactionType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TransactionType
focal_class.signature: TransactionType getTransactionType()
focal_class.class_method_signature: SeataATShardingTransactionManager.isInTransaction()
focal_class.full_signature: @Override public boolean isInTransaction()
focal_class.identifier: isInTransaction
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isInTransaction()
focal_class.class_method_signature: SeataATShardingTransactionManager.getConnection(final String dataSourceName)
focal_class.full_signature: @Override public Connection getConnection(final String dataSourceName)
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: (final String dataSourceName)
focal_class.return: Connection
focal_class.signature: Connection getConnection(final String dataSourceName)
focal_class.class_method_signature: SeataATShardingTransactionManager.begin()
focal_class.full_signature: @Override @SneakyThrows(TransactionException.class) public void begin()
focal_class.identifier: begin
focal_class.modifiers: @Override @SneakyThrows(TransactionException.class) public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void begin()
focal_class.class_method_signature: SeataATShardingTransactionManager.commit()
focal_class.full_signature: @Override @SneakyThrows(TransactionException.class) public void commit()
focal_class.identifier: commit
focal_class.modifiers: @Override @SneakyThrows(TransactionException.class) public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void commit()
focal_class.class_method_signature: SeataATShardingTransactionManager.rollback()
focal_class.full_signature: @Override @SneakyThrows(TransactionException.class) public void rollback()
focal_class.identifier: rollback
focal_class.modifiers: @Override @SneakyThrows(TransactionException.class) public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rollback()
focal_class.class_method_signature: SeataATShardingTransactionManager.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_method.body: @Override
      public TransactionType getTransactionType() {
          return TransactionType.BASE;
      }
focal_method.class_method_signature: SeataATShardingTransactionManager.getTransactionType()
focal_method.full_signature: @Override public TransactionType getTransactionType()
focal_method.identifier: getTransactionType
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TransactionType
focal_method.signature: TransactionType getTransactionType()