test_class.declarator: xaResource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private XAResource xaResource;
test_class.type: XAResource
test_class.var_name: xaResource
test_class.declarator: xid
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Xid xid;
test_class.type: Xid
test_class.var_name: xid
test_class.declarator: singleXAResource
test_class.modifier: private
test_class.original_string: private SingleXAResource singleXAResource;
test_class.type: SingleXAResource
test_class.var_name: singleXAResource
test_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/test/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResourceTest.java
test_class.identifier: SingleXAResourceTest
test_case.body: @Test
      public void assertCommit() throws XAException {
          singleXAResource.commit(xid, true);
          verify(xaResource).commit(xid, true);
      }
test_case.class_method_signature: SingleXAResourceTest.assertCommit()
test_case.full_signature: @Test public void assertCommit()
test_case.identifier: assertCommit
test_case.invocations: commit commit verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertCommit()
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.declarator: delegate
focal_class.modifier: private final
focal_class.original_string: private final XAResource delegate;
focal_class.type: XAResource
focal_class.var_name: delegate
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-spi/src/main/java/org/apache/shardingsphere/transaction/xa/spi/SingleXAResource.java
focal_class.identifier: SingleXAResource
focal_class.interfaces: implements XAResource
focal_class.class_method_signature: SingleXAResource.commit(final Xid xid, final boolean b)
focal_class.full_signature: @Override public void commit(final Xid xid, final boolean b)
focal_class.identifier: commit
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid, final boolean b)
focal_class.return: void
focal_class.signature: void commit(final Xid xid, final boolean b)
focal_class.class_method_signature: SingleXAResource.end(final Xid xid, final int i)
focal_class.full_signature: @Override public void end(final Xid xid, final int i)
focal_class.identifier: end
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid, final int i)
focal_class.return: void
focal_class.signature: void end(final Xid xid, final int i)
focal_class.class_method_signature: SingleXAResource.forget(final Xid xid)
focal_class.full_signature: @Override public void forget(final Xid xid)
focal_class.identifier: forget
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid)
focal_class.return: void
focal_class.signature: void forget(final Xid xid)
focal_class.class_method_signature: SingleXAResource.getTransactionTimeout()
focal_class.full_signature: @Override public int getTransactionTimeout()
focal_class.identifier: getTransactionTimeout
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTransactionTimeout()
focal_class.class_method_signature: SingleXAResource.isSameRM(final XAResource xaResource)
focal_class.full_signature: @Override public boolean isSameRM(final XAResource xaResource)
focal_class.identifier: isSameRM
focal_class.modifiers: @Override public
focal_class.parameters: (final XAResource xaResource)
focal_class.return: boolean
focal_class.signature: boolean isSameRM(final XAResource xaResource)
focal_class.class_method_signature: SingleXAResource.prepare(final Xid xid)
focal_class.full_signature: @Override public int prepare(final Xid xid)
focal_class.identifier: prepare
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid)
focal_class.return: int
focal_class.signature: int prepare(final Xid xid)
focal_class.class_method_signature: SingleXAResource.recover(final int i)
focal_class.full_signature: @Override public Xid[] recover(final int i)
focal_class.identifier: recover
focal_class.modifiers: @Override public
focal_class.parameters: (final int i)
focal_class.return: Xid[]
focal_class.signature: Xid[] recover(final int i)
focal_class.class_method_signature: SingleXAResource.rollback(final Xid xid)
focal_class.full_signature: @Override public void rollback(final Xid xid)
focal_class.identifier: rollback
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid)
focal_class.return: void
focal_class.signature: void rollback(final Xid xid)
focal_class.class_method_signature: SingleXAResource.setTransactionTimeout(final int i)
focal_class.full_signature: @Override public boolean setTransactionTimeout(final int i)
focal_class.identifier: setTransactionTimeout
focal_class.modifiers: @Override public
focal_class.parameters: (final int i)
focal_class.return: boolean
focal_class.signature: boolean setTransactionTimeout(final int i)
focal_class.class_method_signature: SingleXAResource.start(final Xid xid, final int i)
focal_class.full_signature: @Override public void start(final Xid xid, final int i)
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: (final Xid xid, final int i)
focal_class.return: void
focal_class.signature: void start(final Xid xid, final int i)
focal_method.body: @Override
      public void commit(final Xid xid, final boolean b) throws XAException {
          delegate.commit(xid, b);
      }
focal_method.class_method_signature: SingleXAResource.commit(final Xid xid, final boolean b)
focal_method.full_signature: @Override public void commit(final Xid xid, final boolean b)
focal_method.identifier: commit
focal_method.invocations: commit
focal_method.modifiers: @Override public
focal_method.parameters: (final Xid xid, final boolean b)
focal_method.return: void
focal_method.signature: void commit(final Xid xid, final boolean b)