test_class.declarator: backendConnection
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BackendConnection backendConnection;
test_class.type: BackendConnection
test_class.var_name: backendConnection
test_class.file: shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/sctl/hint/internal/HintCommandExecutorFactoryTest.java
test_class.identifier: HintCommandExecutorFactoryTest
test_case.body: @Test
      public void assertHintShowStatusExecutor() {
          String sql = "sctl:hint show status ";
          HintCommand hintCommand = mock(HintShowStatusCommand.class);
          assertThat(HintCommandExecutorFactory.newInstance(hintCommand, backendConnection, sql), instanceOf(HintShowStatusExecutor.class));
      }
test_case.class_method_signature: HintCommandExecutorFactoryTest.assertHintShowStatusExecutor()
test_case.full_signature: @Test public void assertHintShowStatusExecutor()
test_case.identifier: assertHintShowStatusExecutor
test_case.invocations: mock assertThat newInstance instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertHintShowStatusExecutor()
focal_class.file: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/sctl/hint/internal/HintCommandExecutorFactory.java
focal_class.identifier: HintCommandExecutorFactory
focal_class.class_method_signature: HintCommandExecutorFactory.newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_class.full_signature: public static HintCommandExecutor newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_class.identifier: newInstance
focal_class.modifiers: public static
focal_class.parameters: (final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_class.return: HintCommandExecutor
focal_class.signature: HintCommandExecutor newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_method.body: public static HintCommandExecutor newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql) {
          if (hintCommand instanceof HintSetPrimaryOnlyCommand) {
              return new HintSetPrimaryOnlyExecutor();
          }
          if (hintCommand instanceof HintSetDatabaseShardingValueCommand) {
              return new HintSetDatabaseShardingValueExecutor();
          }
          if (hintCommand instanceof HintAddDatabaseShardingValueCommand) {
              return new HintAddDatabaseShardingValueExecutor();
          }
          if (hintCommand instanceof HintAddTableShardingValueCommand) {
              return new HintAddTableShardingValueExecutor();
          }
          if (hintCommand instanceof HintClearCommand) {
              return new HintClearExecutor();
          }
          if (hintCommand instanceof HintShowStatusCommand) {
              return new HintShowStatusExecutor();
          }
          if (hintCommand instanceof HintShowTableStatusCommand) {
              return new HintShowTableStatusExecutor(backendConnection);
          }
          return new HintErrorParameterExecutor(sql);
      }
focal_method.class_method_signature: HintCommandExecutorFactory.newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_method.full_signature: public static HintCommandExecutor newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_method.identifier: newInstance
focal_method.modifiers: public static
focal_method.parameters: (final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)
focal_method.return: HintCommandExecutor
focal_method.signature: HintCommandExecutor newInstance(final HintCommand hintCommand, final BackendConnection backendConnection, final String sql)