test_class.declarator: singleXAResource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SingleXAResource singleXAResource;
test_class.type: SingleXAResource
test_class.var_name: singleXAResource
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/AtomikosXARecoverableResourceTest.java
test_class.identifier: AtomikosXARecoverableResourceTest
test_case.body: @Test
      public void assertUseXAResource() {
          AtomikosXARecoverableResource atomikosXARecoverableResource = new AtomikosXARecoverableResource("ds1", xaDataSource);
          assertTrue(atomikosXARecoverableResource.usesXAResource(singleXAResource));
      }
test_case.class_method_signature: AtomikosXARecoverableResourceTest.assertUseXAResource()
test_case.full_signature: @Test public void assertUseXAResource()
test_case.identifier: assertUseXAResource
test_case.invocations: assertTrue usesXAResource
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertUseXAResource()
focal_class.declarator: resourceName
focal_class.modifier: private final
focal_class.original_string: private final String resourceName;
focal_class.type: String
focal_class.var_name: resourceName
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/AtomikosXARecoverableResource.java
focal_class.identifier: AtomikosXARecoverableResource
focal_class.class_method_signature: AtomikosXARecoverableResource.AtomikosXARecoverableResource(final String serverName, final XADataSource xaDataSource)
focal_class.full_signature:   AtomikosXARecoverableResource(final String serverName, final XADataSource xaDataSource)
focal_class.identifier: AtomikosXARecoverableResource
focal_class.parameters: (final String serverName, final XADataSource xaDataSource)
focal_class.signature:  AtomikosXARecoverableResource(final String serverName, final XADataSource xaDataSource)
focal_class.class_method_signature: AtomikosXARecoverableResource.usesXAResource(final XAResource xaResource)
focal_class.full_signature: @Override public boolean usesXAResource(final XAResource xaResource)
focal_class.identifier: usesXAResource
focal_class.modifiers: @Override public
focal_class.parameters: (final XAResource xaResource)
focal_class.return: boolean
focal_class.signature: boolean usesXAResource(final XAResource xaResource)
focal_class.superclass: extends JdbcTransactionalResource
focal_method.body: @Override
      public boolean usesXAResource(final XAResource xaResource) {
          return resourceName.equals(((SingleXAResource) xaResource).getResourceName());
      }
focal_method.class_method_signature: AtomikosXARecoverableResource.usesXAResource(final XAResource xaResource)
focal_method.full_signature: @Override public boolean usesXAResource(final XAResource xaResource)
focal_method.identifier: usesXAResource
focal_method.invocations: equals getResourceName
focal_method.modifiers: @Override public
focal_method.parameters: (final XAResource xaResource)
focal_method.return: boolean
focal_method.signature: boolean usesXAResource(final XAResource xaResource)