test_class.declarator: dataSource = new CircuitBreakerDataSource()
test_class.modifier: private final
test_class.original_string: private final CircuitBreakerDataSource dataSource = new CircuitBreakerDataSource();
test_class.type: CircuitBreakerDataSource
test_class.var_name: dataSource
test_class.file: shardingsphere-jdbc/shardingsphere-jdbc-governance/src/test/java/org/apache/shardingsphere/driver/governance/internal/circuit/datasource/CircuitBreakerDataSourceTest.java
test_class.identifier: CircuitBreakerDataSourceTest
test_case.body: @Test
      public void assertGetConnection() {
          assertTrue(dataSource.getConnection() instanceof CircuitBreakerConnection);
          assertTrue(dataSource.getConnection("", "") instanceof CircuitBreakerConnection);
      }
test_case.class_method_signature: CircuitBreakerDataSourceTest.assertGetConnection()
test_case.full_signature: @Test public void assertGetConnection()
test_case.identifier: assertGetConnection
test_case.invocations: assertTrue getConnection assertTrue getConnection
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetConnection()
focal_class.file: shardingsphere-jdbc/shardingsphere-jdbc-governance/src/main/java/org/apache/shardingsphere/driver/governance/internal/circuit/datasource/CircuitBreakerDataSource.java
focal_class.identifier: CircuitBreakerDataSource
focal_class.interfaces: implements AutoCloseable
focal_class.class_method_signature: CircuitBreakerDataSource.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_class.class_method_signature: CircuitBreakerDataSource.getConnection()
focal_class.full_signature: @Override public Connection getConnection()
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection getConnection()
focal_class.class_method_signature: CircuitBreakerDataSource.getConnection(final String username, final String password)
focal_class.full_signature: @Override public Connection getConnection(final String username, final String password)
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: (final String username, final String password)
focal_class.return: Connection
focal_class.signature: Connection getConnection(final String username, final String password)
focal_class.class_method_signature: CircuitBreakerDataSource.getLogWriter()
focal_class.full_signature: @Override public PrintWriter getLogWriter()
focal_class.identifier: getLogWriter
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PrintWriter
focal_class.signature: PrintWriter getLogWriter()
focal_class.class_method_signature: CircuitBreakerDataSource.setLogWriter(final PrintWriter out)
focal_class.full_signature: @Override public void setLogWriter(final PrintWriter out)
focal_class.identifier: setLogWriter
focal_class.modifiers: @Override public
focal_class.parameters: (final PrintWriter out)
focal_class.return: void
focal_class.signature: void setLogWriter(final PrintWriter out)
focal_class.class_method_signature: CircuitBreakerDataSource.getParentLogger()
focal_class.full_signature: @Override public Logger getParentLogger()
focal_class.identifier: getParentLogger
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Logger
focal_class.signature: Logger getParentLogger()
focal_class.superclass: extends AbstractUnsupportedOperationDataSource
focal_method.body: @Override
      public Connection getConnection() {
          return new CircuitBreakerConnection();
      }
focal_method.class_method_signature: CircuitBreakerDataSource.getConnection()
focal_method.full_signature: @Override public Connection getConnection()
focal_method.identifier: getConnection
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Connection
focal_method.signature: Connection getConnection()