test_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/resourced/jdbc/executor/SQLExecutorTest.java
test_class.identifier: SQLExecutorTest
test_case.body: @Test
      public void assertExecuteSQLException() {
          try {
              ExecutorKernel kernel = mock(ExecutorKernel.class);
              when(kernel.execute(anyCollection(), any(), any(), anyBoolean())).thenThrow(new SQLException("TestSQLException"));
              SQLExecutor sqlExecutor = new SQLExecutor(kernel, false);
              sqlExecutor.execute(Collections.emptyList(), null);
          } catch (final SQLException ex) {
              assertThat(ex.getMessage(), is("TestSQLException"));
          }
      }
test_case.class_method_signature: SQLExecutorTest.assertExecuteSQLException()
test_case.full_signature: @Test public void assertExecuteSQLException()
test_case.identifier: assertExecuteSQLException
test_case.invocations: mock thenThrow when execute anyCollection any any anyBoolean execute emptyList assertThat getMessage is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertExecuteSQLException()
focal_class.declarator: executorKernel
focal_class.modifier: private final
focal_class.original_string: private final ExecutorKernel executorKernel;
focal_class.type: ExecutorKernel
focal_class.var_name: executorKernel
focal_class.declarator: serial
focal_class.modifier: private final
focal_class.original_string: private final boolean serial;
focal_class.type: boolean
focal_class.var_name: serial
focal_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/resourced/jdbc/executor/SQLExecutor.java
focal_class.identifier: SQLExecutor
focal_class.class_method_signature: SQLExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_class.full_signature: public List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_class.return: List<T>
focal_class.signature: List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_class.class_method_signature: SQLExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> firstCallback, final SQLExecutorCallback<T> callback)
focal_class.full_signature: @SuppressWarnings("unchecked") public List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> firstCallback, final SQLExecutorCallback<T> callback)
focal_class.identifier: execute
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> firstCallback, final SQLExecutorCallback<T> callback)
focal_class.return: List<T>
focal_class.signature: List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> firstCallback, final SQLExecutorCallback<T> callback)
focal_method.body: public <T> List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback) throws SQLException {
          return execute(inputGroups, null, callback);
      }
focal_method.class_method_signature: SQLExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_method.full_signature: public List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_method.identifier: execute
focal_method.invocations: execute
focal_method.modifiers: public
focal_method.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)
focal_method.return: List<T>
focal_method.signature: List<T> execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLExecutorCallback<T> callback)