test_class.declarator: atomikosTransactionManager = new AtomikosTransactionManager()
test_class.modifier: private final
test_class.original_string: private final AtomikosTransactionManager atomikosTransactionManager = new AtomikosTransactionManager();
test_class.type: AtomikosTransactionManager
test_class.var_name: atomikosTransactionManager
test_class.declarator: userTransactionManager
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private UserTransactionManager userTransactionManager;
test_class.type: UserTransactionManager
test_class.var_name: userTransactionManager
test_class.declarator: userTransactionService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private UserTransactionService userTransactionService;
test_class.type: UserTransactionService
test_class.var_name: userTransactionService
test_class.declarator: xaDataSource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private XADataSource xaDataSource;
test_class.type: XADataSource
test_class.var_name: xaDataSource
test_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/test/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManagerTest.java
test_class.identifier: AtomikosTransactionManagerTest
test_case.body: @Test
      public void assertRemoveRecoveryResource() {
          atomikosTransactionManager.removeRecoveryResource("ds1", xaDataSource);
          verify(userTransactionService).removeResource(any(AtomikosXARecoverableResource.class));
      }
test_case.class_method_signature: AtomikosTransactionManagerTest.assertRemoveRecoveryResource()
test_case.full_signature: @Test public void assertRemoveRecoveryResource()
test_case.identifier: assertRemoveRecoveryResource
test_case.invocations: removeRecoveryResource removeResource verify any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertRemoveRecoveryResource()
focal_class.declarator: transactionManager = new UserTransactionManager()
focal_class.modifier: private final
focal_class.original_string: private final UserTransactionManager transactionManager = new UserTransactionManager();
focal_class.type: UserTransactionManager
focal_class.var_name: transactionManager
focal_class.declarator: userTransactionService = new UserTransactionServiceImp()
focal_class.modifier: private final
focal_class.original_string: private final UserTransactionService userTransactionService = new UserTransactionServiceImp();
focal_class.type: UserTransactionService
focal_class.var_name: userTransactionService
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-atomikos/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager/AtomikosTransactionManager.java
focal_class.identifier: AtomikosTransactionManager
focal_class.interfaces: implements XATransactionManager
focal_class.class_method_signature: AtomikosTransactionManager.init()
focal_class.full_signature: @Override public void init()
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: AtomikosTransactionManager.registerRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.full_signature: @Override public void registerRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.identifier: registerRecoveryResource
focal_class.modifiers: @Override public
focal_class.parameters: (final String dataSourceName, final XADataSource xaDataSource)
focal_class.return: void
focal_class.signature: void registerRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.class_method_signature: AtomikosTransactionManager.removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.full_signature: @Override public void removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.identifier: removeRecoveryResource
focal_class.modifiers: @Override public
focal_class.parameters: (final String dataSourceName, final XADataSource xaDataSource)
focal_class.return: void
focal_class.signature: void removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_class.class_method_signature: AtomikosTransactionManager.enlistResource(final SingleXAResource xaResource)
focal_class.full_signature: @SneakyThrows({SystemException.class, RollbackException.class}) @Override public void enlistResource(final SingleXAResource xaResource)
focal_class.identifier: enlistResource
focal_class.modifiers: @SneakyThrows({SystemException.class, RollbackException.class}) @Override public
focal_class.parameters: (final SingleXAResource xaResource)
focal_class.return: void
focal_class.signature: void enlistResource(final SingleXAResource xaResource)
focal_class.class_method_signature: AtomikosTransactionManager.getTransactionManager()
focal_class.full_signature: @Override public TransactionManager getTransactionManager()
focal_class.identifier: getTransactionManager
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TransactionManager
focal_class.signature: TransactionManager getTransactionManager()
focal_class.class_method_signature: AtomikosTransactionManager.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 void removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource) {
          userTransactionService.removeResource(new AtomikosXARecoverableResource(dataSourceName, xaDataSource));
      }
focal_method.class_method_signature: AtomikosTransactionManager.removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_method.full_signature: @Override public void removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)
focal_method.identifier: removeRecoveryResource
focal_method.invocations: removeResource
focal_method.modifiers: @Override public
focal_method.parameters: (final String dataSourceName, final XADataSource xaDataSource)
focal_method.return: void
focal_method.signature: void removeRecoveryResource(final String dataSourceName, final XADataSource xaDataSource)