You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2023/03/25 04:24:15 UTC

[shardingsphere] branch master updated: Use package default modifier with unit tests (#24822)

This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 9008885303d Use package default modifier with unit tests (#24822)
9008885303d is described below

commit 9008885303dd50b9dba25a14151bf11e1467c0e0
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Mar 25 12:24:07 2023 +0800

    Use package default modifier with unit tests (#24822)
    
    * Use package default modifier with test cases on agent modules
    
    * Use package default modifier with unit tests
---
 .../YamlAdvisorsConfigurationLoaderTest.java       |   6 +-
 .../YamlAdvisorsConfigurationSwapperTest.java      |   4 +-
 .../core/builder/AgentBuilderFactoryTest.java      |  16 +-
 .../agent/core/plugin/PluginContextTest.java       |  10 +-
 .../plugin/PluginLifecycleServiceManagerTest.java  |   8 +-
 .../config/PluginConfigurationLoaderTest.java      |   4 +-
 .../YamlPluginsConfigurationSwapperTest.java       |  10 +-
 .../agent/core/plugin/jar/PluginJarLoaderTest.java |   4 +-
 .../agent/core/spi/AgentServiceLoaderTest.java     |  10 +-
 .../PluginConfigurationValidatorTest.java          |  10 +-
 .../plugin/core/util/AgentReflectionUtilsTest.java |   6 +-
 .../plugin/core/util/MethodTimeRecorderTest.java   |   6 +-
 .../advice/MetaDataContextsFactoryAdviceTest.java  |   6 +-
 .../core/advice/RouteResultCountAdviceTest.java    |   6 +-
 .../core/advice/SQLParseCountAdviceTest.java       |  28 +-
 .../core/advice/SQLRouteCountAdviceTest.java       |  14 +-
 .../jdbc/AbstractExecuteCountAdviceTest.java       |   8 +-
 .../jdbc/AbstractExecuteErrorsCountAdviceTest.java |   8 +-
 .../AbstractExecuteLatencyHistogramAdviceTest.java |   8 +-
 .../jdbc/AbstractTransactionsCountAdviceTest.java  |   8 +-
 .../proxy/CommitTransactionsCountAdviceTest.java   |   6 +-
 .../proxy/CurrentConnectionsCountAdviceTest.java   |   6 +-
 .../advice/proxy/ExecuteErrorsCountAdviceTest.java |   6 +-
 .../proxy/ExecuteLatencyHistogramAdviceTest.java   |   6 +-
 .../core/advice/proxy/RequestsCountAdviceTest.java |   6 +-
 .../proxy/RollbackTransactionsCountAdviceTest.java |   6 +-
 .../core/exporter/impl/BuildInfoExporterTest.java  |   6 +-
 .../impl/jdbc/JDBCMetaDataInfoExporterTest.java    |   6 +-
 .../exporter/impl/jdbc/JDBCStateExporterTest.java  |   6 +-
 .../impl/proxy/ProxyMetaDataInfoExporterTest.java  |   8 +-
 .../impl/proxy/ProxyStateExporterTest.java         |   8 +-
 .../PrometheusPluginLifecycleServiceTest.java      |   6 +-
 .../PrometheusMetricsCollectorFactoryTest.java     |  12 +-
 .../PrometheusMetricsCounterCollectorTest.java     |   4 +-
 .../type/PrometheusMetricsGaugeCollectorTest.java  |   4 +-
 ...theusMetricsGaugeMetricFamilyCollectorTest.java |   4 +-
 .../PrometheusMetricsHistogramCollectorTest.java   |   4 +-
 .../type/PrometheusSummaryWrapperTest.java         |   4 +-
 .../exoprter/PrometheusMetricsExporterTest.java    |   6 +-
 ...TelemetryTracingPluginLifecycleServiceTest.java |   6 +-
 ...penTelemetryJDBCExecutorCallbackAdviceTest.java |  10 +-
 .../advice/OpenTelemetryRootSpanAdviceTest.java    |  10 +-
 .../OpenTelemetrySQLParserEngineAdviceTest.java    |  10 +-
 .../db/protocol/codec/PacketCodecTest.java         |  10 +-
 .../protocol/netty/ChannelAttrInitializerTest.java |   4 +-
 .../mysql/codec/MySQLPacketCodecEngineTest.java    |  24 +-
 .../mysql/constant/MySQLBinaryColumnTypeTest.java  |  10 +-
 .../mysql/constant/MySQLBinlogEventFlagTest.java   |   8 +-
 .../mysql/constant/MySQLBinlogEventTypeTest.java   |   8 +-
 .../mysql/constant/MySQLCapabilityFlagTest.java    |   8 +-
 .../mysql/constant/MySQLCharacterSetTest.java      |   8 +-
 .../constant/MySQLNewParametersBoundFlagTest.java  |   6 +-
 .../mysql/constant/MySQLServerInfoTest.java        |   6 +-
 .../mysql/constant/MySQLStatusFlagTest.java        |   8 +-
 .../packet/binlog/MySQLBinlogEventHeaderTest.java  |   6 +-
 ...ySQLBinlogFormatDescriptionEventPacketTest.java |   4 +-
 .../MySQLBinlogRotateEventPacketTest.java          |   6 +-
 .../binlog/row/MySQLBinlogRowsEventPacketTest.java |   6 +-
 .../row/MySQLBinlogTableMapEventPacketTest.java    |   4 +-
 .../value/MySQLBinlogProtocolValueFactoryTest.java |   6 +-
 .../blob/MySQLBlobBinlogProtocolValueTest.java     |  14 +-
 .../MySQLDecimalBinlogProtocolValueTest.java       |  10 +-
 .../MySQLDoubleBinlogProtocolValueTest.java        |   4 +-
 .../decimal/MySQLFloatBinlogProtocolValueTest.java |   4 +-
 .../integer/MySQLBitBinlogProtocolValueTest.java   |  12 +-
 .../integer/MySQLInt24BinlogProtocolValueTest.java |   4 +-
 .../integer/MySQLLongBinlogProtocolValueTest.java  |   4 +-
 .../MySQLLongLongBinlogProtocolValueTest.java      |   4 +-
 .../integer/MySQLShortBinlogProtocolValueTest.java |   4 +-
 .../integer/MySQLTinyBinlogProtocolValueTest.java  |   4 +-
 .../string/MySQLJsonBinlogProtocolValueTest.java   |  14 +-
 .../value/string/MySQLJsonValueDecoderTest.java    |  40 +--
 .../string/MySQLStringBinlogProtocolValueTest.java |  18 +-
 .../MySQLVarcharBinlogProtocolValueTest.java       |   8 +-
 .../time/MySQLDateBinlogProtocolValueTest.java     |   6 +-
 .../MySQLDatetime2BinlogProtocolValueTest.java     |  14 +-
 .../time/MySQLDatetimeBinlogProtocolValueTest.java |   6 +-
 .../time/MySQLTime2BinlogProtocolValueTest.java    |  14 +-
 .../time/MySQLTimeBinlogProtocolValueTest.java     |   6 +-
 .../column/value/time/MySQLTimeValueUtilsTest.java |   4 +-
 .../MySQLTimestamp2BinlogProtocolValueTest.java    |  10 +-
 .../MySQLTimestampBinlogProtocolValueTest.java     |   6 +-
 .../time/MySQLYearBinlogProtocolValueTest.java     |   6 +-
 .../command/MySQLCommandPacketTypeLoaderTest.java  |   6 +-
 .../packet/command/MySQLCommandPacketTypeTest.java |   6 +-
 .../command/admin/MySQLComSetOptionPacketTest.java |   6 +-
 .../admin/MySQLUnsupportedCommandPacketTest.java   |   4 +-
 .../admin/initdb/MySQLComInitDbPacketTest.java     |   6 +-
 .../command/admin/ping/MySQLComPingPacketTest.java |   4 +-
 .../command/admin/quit/MySQLComQuitPacketTest.java |   4 +-
 .../MySQLComBinlogDumpCommandPacketTest.java       |   6 +-
 .../MySQLComRegisterSlaveCommandPacketTest.java    |   6 +-
 .../query/MySQLColumnDefinition41PacketTest.java   |   4 +-
 .../command/query/MySQLFieldCountPacketTest.java   |   4 +-
 .../binary/MySQLComStmtSendLongDataPacketTest.java |   4 +-
 .../binary/close/MySQLComStmtClosePacketTest.java  |   6 +-
 .../execute/MySQLBinaryResultSetRowPacketTest.java |   4 +-
 .../execute/MySQLComStmtExecutePacketTest.java     |  10 +-
 .../query/binary/execute/MySQLNullBitmapTest.java  |  10 +-
 .../MySQLBinaryProtocolValueFactoryTest.java       |  56 ++--
 .../protocol/MySQLDateBinaryProtocolValueTest.java |  18 +-
 .../MySQLDoubleBinaryProtocolValueTest.java        |   6 +-
 .../MySQLFloatBinaryProtocolValueTest.java         |   6 +-
 .../protocol/MySQLInt1BinaryProtocolValueTest.java |   6 +-
 .../protocol/MySQLInt2BinaryProtocolValueTest.java |   6 +-
 .../protocol/MySQLInt4BinaryProtocolValueTest.java |   6 +-
 .../protocol/MySQLInt8BinaryProtocolValueTest.java |   8 +-
 .../MySQLStringLenencBinaryProtocolValueTest.java  |   8 +-
 .../protocol/MySQLTimeBinaryProtocolValueTest.java |  16 +-
 .../prepare/MySQLComStmtPrepareOKPacketTest.java   |   4 +-
 .../prepare/MySQLComStmtPreparePacketTest.java     |   6 +-
 .../binary/reset/MySQLComStmtResetPacketTest.java  |   4 +-
 .../text/MySQLTextResultSetRowPacketTest.java      |  10 +-
 .../fieldlist/MySQLComFieldListPacketTest.java     |   6 +-
 .../query/text/query/MySQLComQueryPacketTest.java  |   6 +-
 .../mysql/packet/generic/MySQLEofPacketTest.java   |   8 +-
 .../mysql/packet/generic/MySQLErrPacketTest.java   |   8 +-
 .../mysql/packet/generic/MySQLOKPacketTest.java    |  10 +-
 .../MySQLAuthSwitchRequestPacketTest.java          |   4 +-
 .../MySQLAuthSwitchResponsePacketTest.java         |   4 +-
 .../MySQLAuthenticationPluginDataTest.java         |   6 +-
 .../packet/handshake/MySQLHandshakePacketTest.java |  10 +-
 .../MySQLHandshakeResponse41PacketTest.java        |  18 +-
 .../packet/handshake/MySQLRandomGeneratorTest.java |   4 +-
 .../mysql/payload/MySQLPacketPayloadTest.java      |  84 ++---
 .../codec/OpenGaussPacketCodecEngineTest.java      |  20 +-
 .../OpenGaussAuthenticationHexDataTest.java        |   4 +-
 ...enGaussAuthenticationSCRAMSha256PacketTest.java |   8 +-
 .../command/OpenGaussCommandPacketFactoryTest.java |   6 +-
 .../command/OpenGaussCommandPacketTypeTest.java    |   6 +-
 .../generic/OpenGaussErrorResponsePacketTest.java  |   6 +-
 .../bind/OpenGaussComBatchBindPacketTest.java      |   4 +-
 .../codec/PostgreSQLPacketCodecEngineTest.java     |  20 +-
 .../constant/PostgreSQLArrayColumnTypeTest.java    |   6 +-
 .../constant/PostgreSQLServerInfoTest.java         |   6 +-
 .../PostgreSQLCommandPacketFactoryTest.java        |  18 +-
 .../PostgreSQLCommandPacketTypeLoaderTest.java     |   6 +-
 .../command/PostgreSQLCommandPacketTypeTest.java   |   6 +-
 .../PostgreSQLUnsupportedCommandPacketTest.java    |   6 +-
 .../query/PostgreSQLColumnDescriptionTest.java     |   8 +-
 .../command/query/PostgreSQLDataRowPacketTest.java |  20 +-
 .../PostgreSQLEmptyQueryResponsePacketTest.java    |   4 +-
 .../command/query/PostgreSQLNoDataPacketTest.java  |   4 +-
 .../query/PostgreSQLRowDescriptionPacketTest.java  |   6 +-
 .../PostgreSQLAggregatedResponsesPacketTest.java   |   4 +-
 .../query/extended/PostgreSQLColumnTypeTest.java   |  14 +-
 .../bind/PostgreSQLBindCompletePacketTest.java     |   4 +-
 .../extended/bind/PostgreSQLComBindPacketTest.java |   4 +-
 .../PostgreSQLTypeUnspecifiedSQLParameterTest.java |   4 +-
 .../PostgreSQLArrayParameterDecoderTest.java       |  20 +-
 .../PostgreSQLBinaryProtocolValueFactoryTest.java  |  24 +-
 .../PostgreSQLBinaryTimestampUtilsTest.java        |   6 +-
 ...PostgreSQLBoolArrayBinaryProtocolValueTest.java |   8 +-
 .../bind/protocol/PostgreSQLByteConverterTest.java |   4 +-
 .../PostgreSQLByteaBinaryProtocolValueTest.java    |   8 +-
 .../PostgreSQLDateBinaryProtocolValueTest.java     |   8 +-
 .../PostgreSQLDoubleBinaryProtocolValueTest.java   |   8 +-
 ...stgreSQLFloat4ArrayBinaryProtocolValueTest.java |   8 +-
 ...stgreSQLFloat8ArrayBinaryProtocolValueTest.java |   8 +-
 .../PostgreSQLFloatBinaryProtocolValueTest.java    |   8 +-
 ...PostgreSQLInt2ArrayBinaryProtocolValueTest.java |   8 +-
 .../PostgreSQLInt2BinaryProtocolValueTest.java     |   8 +-
 ...PostgreSQLInt4ArrayBinaryProtocolValueTest.java |   8 +-
 .../PostgreSQLInt4BinaryProtocolValueTest.java     |   4 +-
 ...PostgreSQLInt8ArrayBinaryProtocolValueTest.java |   8 +-
 .../PostgreSQLInt8BinaryProtocolValueTest.java     |   8 +-
 .../PostgreSQLNumericBinaryProtocolValueTest.java  |   8 +-
 ...stgreSQLStringArrayBinaryProtocolValueTest.java |   8 +-
 .../PostgreSQLStringBinaryProtocolValueTest.java   |   6 +-
 .../bind/protocol/PostgreSQLTextTimeUtilsTest.java |   4 +-
 .../protocol/PostgreSQLTextTimestampUtilsTest.java |   4 +-
 .../PostgreSQLTimeBinaryProtocolValueTest.java     |   4 +-
 ...stgreSQLUnspecifiedBinaryProtocolValueTest.java |   8 +-
 .../close/PostgreSQLCloseCompletePacketTest.java   |   4 +-
 .../close/PostgreSQLComClosePacketTest.java        |  10 +-
 .../describe/PostgreSQLComDescribePacketTest.java  |   6 +-
 .../execute/PostgreSQLComExecutePacketTest.java    |   4 +-
 .../parse/PostgreSQLComParsePacketTest.java        |   4 +-
 .../parse/PostgreSQLParseCompletePacketTest.java   |   4 +-
 .../extended/sync/PostgreSQLComSyncPacketTest.java |   4 +-
 .../query/simple/PostgreSQLComQueryPacketTest.java |   4 +-
 .../PostgreSQLComTerminationPacketTest.java        |   4 +-
 .../PostgreSQLCommandCompletePacketTest.java       |   8 +-
 .../generic/PostgreSQLErrorResponsePacketTest.java |   6 +-
 .../generic/PostgreSQLReadyForQueryPacketTest.java |   8 +-
 .../PostgreSQLAuthenticationOKPacketTest.java      |   4 +-
 .../handshake/PostgreSQLComStartupPacketTest.java  |   6 +-
 .../PostgreSQLParameterStatusPacketTest.java       |   4 +-
 .../PostgreSQLPasswordMessagePacketTest.java       |   4 +-
 .../handshake/PostgreSQLRandomGeneratorTest.java   |   4 +-
 .../handshake/PostgreSQLSSLNegativePacketTest.java |   4 +-
 ...tgreSQLMD5PasswordAuthenticationPacketTest.java |   4 +-
 .../PostgreSQLMessagePacketTypeTest.java           |   6 +-
 .../payload/PostgreSQLPacketPayloadTest.java       |   4 +-
 .../mapper/MySQLDialectExceptionMapperTest.java    |   4 +-
 .../dialect/mysql/vendor/MySQLVendorErrorTest.java |   8 +-
 .../PostgreSQLDialectExceptionMapperTest.java      |   4 +-
 .../message/ServerErrorMessageBuilderTest.java     |   4 +-
 .../parser/rdl/RegisterStorageUnitTest.java        |   4 +-
 .../converter/DataSourceSegmentsConverterTest.java |   4 +-
 ...abaseDiscoveryRuleConfigurationCheckerTest.java |   6 +-
 .../route/DatabaseDiscoverySQLRouterTest.java      |  14 +-
 .../rule/DatabaseDiscoveryDataSourceRuleTest.java  |  12 +-
 .../rule/DatabaseDiscoveryRuleTest.java            |  12 +-
 .../builder/DatabaseDiscoveryRuleBuilderTest.java  |   4 +-
 ...abaseDiscoveryRuleConfigurationSwapperTest.java |  10 +-
 ...YamlDatabaseDiscoveryRuleConfigurationTest.java |   6 +-
 ...atabaseDiscoveryRuleStatementConverterTest.java |   4 +-
 .../CountDatabaseDiscoveryRuleExecutorTest.java    |   6 +-
 ...ShowDatabaseDiscoveryHeartbeatExecutorTest.java |   6 +-
 .../ShowDatabaseDiscoveryRuleExecutorTest.java     |   8 +-
 .../ShowDatabaseDiscoveryTypeExecutorTest.java     |   6 +-
 ...rDatabaseDiscoveryRuleStatementUpdaterTest.java |  16 +-
 ...eDatabaseDiscoveryRuleStatementUpdaterTest.java |  16 +-
 ...baseDiscoveryHeartbeatStatementUpdaterTest.java |  12 +-
 ...abaseDiscoveryProviderStatementUpdaterTest.java |  12 +-
 ...pDatabaseDiscoveryRuleStatementUpdaterTest.java |  16 +-
 .../type/MGRDatabaseDiscoveryProviderTest.java     |   8 +-
 ...alReplicationDatabaseDiscoveryProviderTest.java |  12 +-
 ...alReplicationDatabaseDiscoveryProviderTest.java |   4 +-
 .../algorithm/encrypt/AESEncryptAlgorithmTest.java |  14 +-
 .../algorithm/encrypt/MD5EncryptAlgorithmTest.java |  12 +-
 .../algorithm/encrypt/RC4EncryptAlgorithmTest.java |  14 +-
 .../like/CharDigestLikeEncryptAlgorithmTest.java   |  12 +-
 .../EncryptRuleConfigurationCheckerTest.java       |  10 +-
 .../encrypt/context/EncryptContextBuilderTest.java |   4 +-
 .../merge/EncryptResultDecoratorEngineTest.java    |   8 +-
 .../merge/dal/EncryptDALResultDecoratorTest.java   |  10 +-
 ...ecoratedEncryptShowColumnsMergedResultTest.java |  24 +-
 ...atedEncryptShowCreateTableMergedResultTest.java |  20 +-
 .../MergedEncryptShowColumnsMergedResultTest.java  |  24 +-
 ...rgedEncryptShowCreateTableMergedResultTest.java |  16 +-
 .../merge/dql/EncryptAlgorithmMetaDataTest.java    |  14 +-
 .../merge/dql/EncryptDQLResultDecoratorTest.java   |   6 +-
 .../encrypt/merge/dql/EncryptMergedResultTest.java |  20 +-
 .../metadata/EncryptMetaDataReviseEngineTest.java  |   4 +-
 .../impl/EncryptAlterTableTokenGeneratorTest.java  |  10 +-
 .../impl/EncryptBinaryOperationConditionTest.java  |   4 +-
 .../impl/EncryptCreateTableTokenGeneratorTest.java |   6 +-
 .../rewrite/impl/EncryptInConditionTest.java       |   4 +-
 .../impl/EncryptOrderByItemTokenGeneratorTest.java |   6 +-
 .../impl/EncryptProjectionTokenGeneratorTest.java  |  10 +-
 .../EncryptSQLRewriteContextDecoratorTest.java     |   4 +-
 .../EncryptParameterRewriterBuilderTest.java       |   6 +-
 .../pojo/EncryptLiteralAssignmentTokenTest.java    |   4 +-
 .../pojo/EncryptParameterAssignmentTokenTest.java  |   4 +-
 .../EncryptPredicateEqualRightValueTokenTest.java  |   6 +-
 ...ncryptPredicateFunctionRightValueTokenTest.java |   4 +-
 .../EncryptPredicateInRightValueTokenTest.java     |   6 +-
 ...eryAndPlainInsertColumnsTokenGeneratorTest.java |  14 +-
 .../EncryptInsertOnUpdateTokenGeneratorTest.java   |  12 +-
 .../token/EncryptTokenGenerateBuilderTest.java     |   4 +-
 .../EncryptAssignmentTokenGeneratorTest.java       |  16 +-
 ...rUseDefaultInsertColumnsTokenGeneratorTest.java |   8 +-
 .../EncryptInsertValuesTokenGeneratorTest.java     |   8 +-
 .../EncryptPredicateColumnTokenGeneratorTest.java  |   6 +-
 ...cryptPredicateRightValueTokenGeneratorTest.java |   6 +-
 .../InsertCipherNameTokenGeneratorTest.java        |  10 +-
 .../encrypt/rule/EncryptColumnTest.java            |   8 +-
 .../encrypt/rule/EncryptRuleTest.java              |  38 +--
 .../encrypt/rule/EncryptTableTest.java             |  44 +--
 .../rule/builder/EncryptRuleBuilderTest.java       |   4 +-
 .../YamlEncryptRuleConfigurationSwapperTest.java   |   6 +-
 ...lEncryptColumnRuleConfigurationSwapperTest.java |   6 +-
 ...mlEncryptTableRuleConfigurationSwapperTest.java |   6 +-
 .../EncryptRuleStatementConverterTest.java         |   4 +-
 .../query/CountEncryptRuleExecutorTest.java        |   6 +-
 .../handler/query/ShowEncryptRuleExecutorTest.java |   6 +-
 .../AlterEncryptRuleStatementUpdaterTest.java      |  12 +-
 .../CreateEncryptRuleStatementUpdaterTest.java     |  12 +-
 .../DropEncryptRuleStatementUpdaterTest.java       |  12 +-
 .../sm/algorithm/SM3EncryptAlgorithmTest.java      |  16 +-
 .../sm/algorithm/SM4EncryptAlgorithmTest.java      |  16 +-
 .../algorithm/MaskAlgorithmPropsCheckerTest.java   |  30 +-
 .../cover/KeepFirstNLastMMaskAlgorithmTest.java    |  14 +-
 .../cover/KeepFromXToYMaskAlgorithmTest.java       |  16 +-
 .../cover/MaskAfterSpecialCharsAlgorithmTest.java  |  18 +-
 .../cover/MaskBeforeSpecialCharsAlgorithmTest.java |  18 +-
 .../cover/MaskFirstNLastMMaskAlgorithmTest.java    |  14 +-
 .../cover/MaskFromXToYMaskAlgorithmTest.java       |  16 +-
 .../mask/algorithm/hash/MD5MaskAlgorithmTest.java  |   8 +-
 .../GenericTableRandomReplaceAlgorithmTest.java    |   8 +-
 .../replace/LandlineNumberRandomAlgorithmTest.java |   6 +-
 ...ryIdentityNumberRandomReplaceAlgorithmTest.java |   6 +-
 ...alIdentityNumberRandomReplaceAlgorithmTest.java |   6 +-
 .../TelephoneRandomReplaceAlgorithmTest.java       |  12 +-
 ...nifiedCreditCodeRandomReplaceAlgorithmTest.java |   8 +-
 .../mask/merge/MaskResultDecoratorEngineTest.java  |   6 +-
 .../mask/merge/dql/MaskAlgorithmMetaDataTest.java  |   4 +-
 .../mask/merge/dql/MaskDQLResultDecoratorTest.java |   6 +-
 .../mask/merge/dql/MaskMergedResultTest.java       |  12 +-
 .../mask/rule/builder/MaskRuleBuilderTest.java     |   4 +-
 .../YamlMaskRuleConfigurationSwapperTest.java      |   6 +-
 ...YamlMaskColumnRuleConfigurationSwapperTest.java |   6 +-
 .../YamlMaskTableRuleConfigurationSwapperTest.java |   6 +-
 .../converter/MaskRuleStatementConverterTest.java  |   4 +-
 .../handler/query/CountMaskRuleExecutorTest.java   |   6 +-
 .../handler/query/ShowMaskRuleExecutorTest.java    |   8 +-
 .../update/AlterMaskRuleStatementUpdaterTest.java  |  12 +-
 .../update/CreateMaskRuleStatementUpdaterTest.java |  10 +-
 .../update/DropMaskRuleStatementUpdaterTest.java   |  10 +-
 .../RandomReadQueryLoadBalanceAlgorithmTest.java   |   4 +-
 ...oundRobinReadQueryLoadBalanceAlgorithmTest.java |   4 +-
 .../WeightReadQueryLoadBalanceAlgorithmTest.java   |   8 +-
 ...writeSplittingRuleConfigurationCheckerTest.java |  14 +-
 .../route/ReadwriteSplittingSQLRouterTest.java     |  22 +-
 .../filter/DisabledReadDataSourcesFilterTest.java  |   2 +-
 ...teSplittingDataSourceRuleConfigurationTest.java |   8 +-
 .../rule/ReadwriteSplittingRuleTest.java           |  14 +-
 .../builder/ReadwriteSplittingRuleBuilderTest.java |   4 +-
 .../DynamicReadwriteSplittingStrategyTest.java     |   4 +-
 ...writeSplittingRuleConfigurationSwapperTest.java |  10 +-
 ...amlReadwriteSplittingRuleConfigurationTest.java |   6 +-
 ...adwriteSplittingRuleStatementConverterTest.java |   8 +-
 .../CountReadwriteSplittingRuleExecutorTest.java   |   6 +-
 .../ShowReadwriteSplittingRuleExecutorTest.java    |  14 +-
 ...ReadwriteSplittingRuleStatementUpdaterTest.java |  22 +-
 ...ReadwriteSplittingRuleStatementUpdaterTest.java |  26 +-
 ...ReadwriteSplittingRuleStatementUpdaterTest.java |  16 +-
 .../ColumnRegexMatchShadowAlgorithmTest.java       |   6 +-
 .../ColumnValueMatchShadowAlgorithmTest.java       |   6 +-
 .../shadow/hint/SQLHintShadowAlgorithmTest.java    |   6 +-
 .../shadow/validator/ShadowValueValidatorTest.java |   8 +-
 .../ShadowRuleConfigurationCheckerTest.java        |   4 +-
 .../shadow/route/ShadowSQLRouterTest.java          |   4 +-
 .../route/engine/ShadowRouteEngineFactoryTest.java |   4 +-
 .../ColumnShadowAlgorithmDeterminerTest.java       |   4 +-
 .../HintShadowAlgorithmDeterminerTest.java         |   4 +-
 .../ShadowDeleteStatementRoutingEngineTest.java    |   8 +-
 .../ShadowInsertStatementRoutingEngineTest.java    |   8 +-
 .../ShadowSelectStatementRoutingEngineTest.java    |   8 +-
 .../ShadowUpdateStatementRoutingEngineTest.java    |   8 +-
 .../ShadowNonDMLStatementRoutingEngineTest.java    |   6 +-
 .../route/engine/util/ShadowExtractorTest.java     |   4 +-
 .../shardingsphere/shadow/rule/ShadowRuleTest.java |  10 +-
 .../shadow/rule/builder/ShadowRuleBuilderTest.java |   4 +-
 ...urationsForYamlShadowRuleConfigurationTest.java |   6 +-
 .../YamlShadowTableConfigurationSwapperTest.java   |   6 +-
 .../ShadowRuleStatementConverterTest.java          |   4 +-
 .../distsql/query/CountShadowRuleExecutorTest.java |   6 +-
 .../ShowDefaultShadowAlgorithmExecutorTest.java    |   6 +-
 .../query/ShowShadowAlgorithmExecutorTest.java     |   6 +-
 .../distsql/query/ShowShadowRuleExecutorTest.java  |   6 +-
 .../query/ShowShadowTableRuleExecutorTest.java     |   6 +-
 ...DefaultShadowAlgorithmStatementUpdaterTest.java |  12 +-
 .../AlterShadowRuleStatementUpdaterTest.java       |  18 +-
 ...DefaultShadowAlgorithmStatementUpdaterTest.java |   8 +-
 .../CreateShadowRuleStatementUpdaterTest.java      |  18 +-
 ...DefaultShadowAlgorithmStatementUpdaterTest.java |   8 +-
 .../DropShadowAlgorithmStatementUpdaterTest.java   |   8 +-
 .../update/DropShadowRuleStatementUpdaterTest.java |  12 +-
 ...ardingConditionsShardingAuditAlgorithmTest.java |  12 +-
 .../keygen/SnowflakeKeyGenerateAlgorithmTest.java  |  26 +-
 .../keygen/UUIDKeyGenerateAlgorithmTest.java       |   4 +-
 .../ShardingAutoTableAlgorithmUtilsTest.java       |   8 +-
 .../ClassBasedShardingAlgorithmFactoryTest.java    |   6 +-
 .../ClassBasedShardingAlgorithmTest.java           |  20 +-
 .../ComplexInlineShardingAlgorithmTest.java        |   8 +-
 .../AutoIntervalShardingAlgorithmTest.java         |  22 +-
 .../datetime/IntervalShardingAlgorithmTest.java    |  38 ++-
 .../hint/HintInlineShardingAlgorithmTest.java      |  10 +-
 .../inline/InlineShardingAlgorithmTest.java        |  14 +-
 .../sharding/mod/HashModShardingAlgorithmTest.java |  10 +-
 .../sharding/mod/ModShardingAlgorithmTest.java     |  20 +-
 .../BoundaryBasedRangeShardingAlgorithmTest.java   |  14 +-
 .../VolumeBasedRangeShardingAlgorithmTest.java     |  22 +-
 .../sharding/auditor/ShardingSQLAuditorTest.java   |  10 +-
 .../ShardingRuleConfigurationCheckerTest.java      |   6 +-
 .../decider/ShardingSQLFederationDeciderTest.java  |  22 +-
 .../merge/ShardingResultMergerEngineTest.java      |  18 +-
 .../common/IteratorStreamMergedResultTest.java     |  16 +-
 .../merge/dal/ShardingDALResultMergerTest.java     |  18 +-
 .../dal/show/ShowCreateTableMergedResultTest.java  |  10 +-
 .../merge/dal/show/ShowIndexMergedResultTest.java  |   6 +-
 .../dal/show/ShowTableStatusMergedResultTest.java  |   8 +-
 .../merge/dal/show/ShowTablesMergedResultTest.java |   8 +-
 .../merge/ddl/ShardingDDLResultMergerTest.java     |   8 +-
 .../ddl/fetch/FetchStreamMergedResultTest.java     |  24 +-
 .../merge/dql/ShardingDQLResultMergerTest.java     |  44 +--
 .../dql/groupby/GroupByMemoryMergedResultTest.java |  10 +-
 .../dql/groupby/GroupByRowComparatorTest.java      |  62 ++--
 .../dql/groupby/GroupByStreamMergedResultTest.java |   8 +-
 .../merge/dql/groupby/GroupByValueTest.java        |  10 +-
 .../AccumulationAggregationUnitTest.java           |   4 +-
 .../aggregation/AggregationUnitFactoryTest.java    |  16 +-
 .../aggregation/AverageAggregationUnitTest.java    |   6 +-
 .../aggregation/BitXorAggregationUnitTest.java     |   4 +-
 .../aggregation/ComparableAggregationUnitTest.java |   6 +-
 .../merge/dql/orderby/CompareUtilsTest.java        |  28 +-
 .../dql/orderby/OrderByStreamMergedResultTest.java |  14 +-
 .../merge/dql/orderby/OrderByValueTest.java        |  32 +-
 .../pagination/LimitDecoratorMergedResultTest.java |   8 +-
 .../RowNumberDecoratorMergedResultTest.java        |  10 +-
 .../TopAndRowNumberDecoratorMergedResultTest.java  |  14 +-
 .../metadata/ShardingMetaDataReviseEngineTest.java |   4 +-
 .../ShardingSQLRewriteContextDecoratorTest.java    |   4 +-
 ...neratedKeyInsertValueParameterRewriterTest.java |   6 +-
 .../ShardingPaginationParameterRewriterTest.java   |   6 +-
 .../ShardingParameterRewriterBuilderTest.java      |   6 +-
 .../AggregationDistinctTokenGeneratorTest.java     |   6 +-
 .../token/ConstraintTokenGeneratorTest.java        |   6 +-
 .../rewrite/token/CursorTokenGeneratorTest.java    |   6 +-
 ...DistinctProjectionPrefixTokenGeneratorTest.java |   6 +-
 .../GeneratedKeyAssignmentTokenGeneratorTest.java  |   6 +-
 ...rUseDefaultInsertColumnsTokenGeneratorTest.java |   4 +-
 ...GeneratedKeyInsertColumnTokenGeneratorTest.java |   4 +-
 ...GeneratedKeyInsertValuesTokenGeneratorTest.java |   4 +-
 .../rewrite/token/IndexTokenGeneratorTest.java     |   6 +-
 .../rewrite/token/OffsetTokenGeneratorTest.java    |   6 +-
 .../rewrite/token/OrderByTokenGeneratorTest.java   |   6 +-
 .../token/ProjectionsTokenGeneratorTest.java       |  12 +-
 .../rewrite/token/RowCountTokenGeneratorTest.java  |   6 +-
 .../ShardingInsertValuesTokenGeneratorTest.java    |   6 +-
 .../token/ShardingRemoveTokenGeneratorTest.java    |  10 +-
 .../rewrite/token/TableTokenGeneratorTest.java     |  10 +-
 .../rewrite/token/pojo/ConstraintTokenTest.java    |   6 +-
 .../rewrite/token/pojo/CursorTokenTest.java        |   4 +-
 .../pojo/GeneratedKeyAssignmentTokenTest.java      |  10 +-
 .../pojo/GeneratedKeyInsertColumnTokenTest.java    |   6 +-
 .../rewrite/token/pojo/IndexTokenTest.java         |   4 +-
 .../rewrite/token/pojo/OrderByTokenTest.java       |   6 +-
 .../token/pojo/ShardingInsertValuesTokenTest.java  |   8 +-
 .../pojo/ShardingTokenGenerateBuilderTest.java     |   6 +-
 .../rewrite/token/pojo/TableTokenTest.java         |   4 +-
 .../rewrite/token/pojo/TokenUtilsTest.java         |   6 +-
 .../route/engine/condition/ColumnTest.java         |  10 +-
 .../condition/ExpressionConditionUtilsTest.java    |   4 +-
 .../engine/condition/ShardingConditionsTest.java   |  14 +-
 .../InsertClauseShardingConditionEngineTest.java   |  22 +-
 .../WhereClauseShardingConditionEngineTest.java    |   8 +-
 .../ConditionValueGeneratorFactoryTest.java        |   8 +-
 .../condition/generator/ConditionValueTest.java    |   6 +-
 ...ConditionValueBetweenOperatorGeneratorTest.java |  16 +-
 ...ConditionValueCompareOperatorGeneratorTest.java |  22 +-
 .../ConditionValueInOperatorGeneratorTest.java     |   8 +-
 .../value/ListShardingConditionValueTest.java      |   6 +-
 .../type/ShardingRouteEngineFactoryTest.java       |  64 ++--
 ...gDataSourceGroupBroadcastRoutingEngineTest.java |   4 +-
 ...ShardingDatabaseBroadcastRoutingEngineTest.java |   4 +-
 ...ShardingInstanceBroadcastRoutingEngineTest.java |   6 +-
 .../ShardingTableBroadcastRoutingEngineTest.java   |  12 +-
 .../complex/ShardingComplexRoutingEngineTest.java  |   8 +-
 .../ignore/ShardingIgnoreRoutingEngineTest.java    |   4 +-
 .../route/engine/type/standard/SQLRouteTest.java   |  12 +-
 .../ShardingStandardRoutingEngineTest.java         |  22 +-
 .../engine/type/standard/SubqueryRouteTest.java    |  32 +-
 .../unicast/ShardingUnicastRoutingEngineTest.java  |  20 +-
 .../ShardingAlterIndexStatementValidatorTest.java  |   8 +-
 .../ShardingAlterTableStatementValidatorTest.java  |  14 +-
 .../ShardingAlterViewStatementValidatorTest.java   |  10 +-
 ...ardingCreateFunctionStatementValidatorTest.java |  10 +-
 .../ShardingCreateIndexStatementValidatorTest.java |  14 +-
 ...rdingCreateProcedureStatementValidatorTest.java |  10 +-
 .../ShardingCreateTableStatementValidatorTest.java |  24 +-
 .../ShardingCreateViewStatementValidatorTest.java  |  14 +-
 .../ShardingDropIndexStatementValidatorTest.java   |  14 +-
 .../ShardingDropTableStatementValidatorTest.java   |  16 +-
 .../ddl/ShardingPrepareStatementValidatorTest.java |   8 +-
 .../ShardingRenameTableStatementValidatorTest.java |  12 +-
 .../dml/ShardingCopyStatementValidatorTest.java    |  10 +-
 .../dml/ShardingDeleteStatementValidatorTest.java  |  12 +-
 .../dml/ShardingInsertStatementValidatorTest.java  |  26 +-
 .../dml/ShardingUpdateStatementValidatorTest.java  |  14 +-
 .../strategy/ShardingStrategyFactoryTest.java      |  12 +-
 .../route/strategy/ShardingStrategyTest.java       |   8 +-
 .../type/complex/ComplexShardingStrategyTest.java  |   4 +-
 .../type/hint/HintShardingStrategyTest.java        |   4 +-
 .../type/none/NoneShardingStrategyTest.java        |   6 +-
 .../standard/StandardShardingStrategyTest.java     |  10 +-
 .../sharding/rule/BindingTableRuleTest.java        |  16 +-
 .../sharding/rule/ShardingRuleTest.java            | 142 ++++-----
 .../sharding/rule/TableRuleTest.java               |  34 +-
 .../rule/builder/ShardingRuleBuilderTest.java      |  10 +-
 .../ShardingRuleConfigurationConverterTest.java    |   4 +-
 .../YamlShardingRuleConfigurationSwapperTest.java  |   6 +-
 ...rdingAutoTableRuleConfigurationSwapperTest.java |  12 +-
 ...lShardingTableRuleConfigurationSwapperTest.java |   8 +-
 ...eyGenerateStrategyConfigurationSwapperTest.java |   6 +-
 ...rdingAuditStrategyConfigurationSwapperTest.java |   6 +-
 ...mlShardingStrategyConfigurationSwapperTest.java |  22 +-
 .../checker/ShardingRuleStatementCheckerTest.java  |  48 +--
 .../ShardingRuleStatementConverterTest.java        |   6 +-
 .../query/CountShardingRuleExecutorTest.java       |   6 +-
 .../query/ShowBroadcastTableRuleExecutorTest.java  |   6 +-
 .../ShowDefaultShardingStrategyExecutorTest.java   |   6 +-
 .../query/ShowShardingAlgorithmExecutorTest.java   |   8 +-
 .../query/ShowShardingAuditorsExecutorTest.java    |   6 +-
 .../ShowShardingKeyGeneratorExecutorTest.java      |   6 +-
 .../query/ShowShardingTableNodesExecutorTest.java  |   6 +-
 ...ShowShardingTableReferenceRuleExecutorTest.java |   8 +-
 .../query/ShowShardingTableRuleExecutorTest.java   |   6 +-
 ...hardingTableRulesUsedAlgorithmExecutorTest.java |   6 +-
 ...wShardingTableRulesUsedAuditorExecutorTest.java |   6 +-
 ...dingTableRulesUsedKeyGeneratorExecutorTest.java |   6 +-
 .../ShowUnusedShardingAlgorithmsExecutorTest.java  |   6 +-
 .../ShowUnusedShardingAuditorsExecutorTest.java    |   6 +-
 ...ShowUnusedShardingKeyGeneratorExecutorTest.java |   6 +-
 ...efaultShardingStrategyStatementUpdaterTest.java |  20 +-
 ...dingTableReferenceRuleStatementUpdaterTest.java |  10 +-
 ...AlterShardingTableRuleStatementUpdaterTest.java |  10 +-
 ...eateBroadcastTableRuleStatementUpdaterTest.java |  10 +-
 ...efaultShardingStrategyStatementUpdaterTest.java |  24 +-
 ...dingTableReferenceRuleStatementUpdaterTest.java |   8 +-
 ...reateShardingTableRuleStatementUpdaterTest.java |  12 +-
 ...DropBroadcastTableRuleStatementUpdaterTest.java |  18 +-
 ...efaultShardingStrategyStatementUpdaterTest.java |  14 +-
 .../DropShardingAlgorithmStatementUpdaterTest.java |  18 +-
 .../DropShardingAuditorStatementUpdaterTest.java   |  12 +-
 ...opShardingKeyGeneratorStatementUpdaterTest.java |  10 +-
 ...dingTableReferenceRuleStatementUpdaterTest.java |  16 +-
 .../DropShardingTableRuleStatementUpdaterTest.java |  18 +-
 .../checker/ShardingRouteCacheableCheckerTest.java |   4 +-
 .../cache/route/CachedShardingSQLRouterTest.java   |  20 +-
 .../cache/route/cache/ShardingRouteCacheTest.java  |   4 +-
 .../rule/builder/ShardingCacheRuleBuilderTest.java |  10 +-
 ...ardingCacheOptionsConfigurationSwapperTest.java |   6 +-
 ...lShardingCacheRuleConfigurationSwapperTest.java |  12 +-
 .../keygen/CosIdKeyGenerateAlgorithmTest.java      |  10 +-
 .../CosIdSnowflakeKeyGenerateAlgorithmTest.java    |  14 +-
 .../keygen/NanoIdKeyGenerateAlgorithmTest.java     |   4 +-
 .../engine/SQLFederationDeciderEngineTest.java     |  14 +-
 .../engine/GeneratedKeyContextEngineTest.java      |  34 +-
 .../insert/values/InsertValueContextTest.java      |  12 +-
 .../values/OnDuplicateUpdateContextTest.java       |  12 +-
 .../DerivedLiteralExpressionSegmentTest.java       |   4 +-
 ...erivedParameterMarkerExpressionSegmentTest.java |   4 +-
 .../groupby/engine/GroupByContextEngineTest.java   |  22 +-
 .../segment/select/orderby/OrderByItemTest.java    |   4 +-
 .../orderby/engine/OrderByContextEngineTest.java   |  34 +-
 .../select/pagination/PaginationContextTest.java   |  44 +--
 .../engine/LimitPaginationContextEngineTest.java   |   8 +-
 .../engine/PaginationContextEngineTest.java        |  24 +-
 .../RowNumberPaginationContextEngineTest.java      |  18 +-
 .../engine/TopPaginationContextEngineTest.java     |  14 +-
 .../select/projection/DerivedColumnTest.java       |  12 +-
 .../select/projection/ProjectionsContextTest.java  |  26 +-
 .../projection/engine/ProjectionEngineTest.java    |  44 +--
 .../engine/ProjectionsContextEngineTest.java       |  94 +++---
 .../impl/AggregationDistinctProjectionTest.java    |   6 +-
 .../projection/impl/AggregationProjectionTest.java |  14 +-
 .../projection/impl/ShorthandProjectionTest.java   |  10 +-
 .../binder/segment/table/TablesContextTest.java    |  36 +--
 .../statement/SQLStatementContextFactoryTest.java  |  24 +-
 .../dal/AnalyzeTableStatementContextTest.java      |   6 +-
 .../statement/dal/ExplainStatementContextTest.java |   6 +-
 .../dal/OptimizeTableStatementContextTest.java     |   4 +-
 .../dal/ShowColumnsStatementContextTest.java       |   4 +-
 .../dal/ShowCreateTableStatementContextTest.java   |   4 +-
 .../dal/ShowIndexStatementContextTest.java         |   4 +-
 .../dcl/DenyUserStatementContextTest.java          |   4 +-
 .../statement/dcl/GrantStatementContextTest.java   |  12 +-
 .../statement/dcl/RevokeStatementContextTest.java  |  12 +-
 .../ddl/AlterIndexStatementContextTest.java        |   8 +-
 .../ddl/AlterTableStatementContextTest.java        |  12 +-
 .../ddl/AlterViewStatementContextTest.java         |   8 +-
 .../ddl/CreateDatabaseStatementContextTest.java    |   6 +-
 .../ddl/CreateFunctionStatementContextTest.java    |   8 +-
 .../ddl/CreateIndexStatementContextTest.java       |  10 +-
 .../ddl/CreateProcedureStatementContextTest.java   |   6 +-
 .../ddl/CreateTableStatementContextTest.java       |  12 +-
 .../ddl/CreateViewStatementContextTest.java        |   6 +-
 .../ddl/DropIndexStatementContextTest.java         |  10 +-
 .../ddl/DropTableStatementContextTest.java         |  12 +-
 .../ddl/DropViewStatementContextTest.java          |   6 +-
 .../statement/ddl/PrepareStatementContextTest.java |   6 +-
 .../ddl/TruncateStatementContextTest.java          |  10 +-
 .../statement/dml/CallStatementContextTest.java    |   6 +-
 .../statement/dml/DeleteStatementContextTest.java  |  12 +-
 .../statement/dml/InsertStatementContextTest.java  |  66 ++--
 .../statement/dml/SelectStatementContextTest.java  | 136 ++++----
 .../statement/dml/UpdateStatementContextTest.java  |   4 +-
 .../config/props/ConfigurationPropertiesTest.java  |   6 +-
 .../config/props/ConfigurationPropertyKeyTest.java |   4 +-
 ...taSourceGeneratedDatabaseConfigurationTest.java |   8 +-
 .../database/metadata/DataSourceMetaDataTest.java  |  16 +-
 .../metadata/dialect/H2DataSourceMetaDataTest.java |  28 +-
 .../dialect/MariaDBDataSourceMetaDataTest.java     |   8 +-
 .../dialect/MySQLDataSourceMetaDataTest.java       |   8 +-
 .../dialect/OpenGaussDataSourceMetaDataTest.java   |   8 +-
 .../dialect/OracleDataSourceMetaDataTest.java      |  24 +-
 .../dialect/PostgreSQLDataSourceMetaDataTest.java  |   8 +-
 .../dialect/SQL92DataSourceMetaDataTest.java       |   6 +-
 .../dialect/SQLServerDataSourceMetaDataTest.java   |  16 +-
 .../database/metadata/url/JdbcUrlAppenderTest.java |   6 +-
 .../metadata/url/StandardJdbcUrlParserTest.java    |  16 +-
 .../database/type/DatabaseTypeEngineTest.java      |  32 +-
 .../database/type/dialect/DatabaseTypeTest.java    |   6 +-
 .../database/type/dialect/H2DatabaseTypeTest.java  |  14 +-
 .../type/dialect/MariaDBDatabaseTypeTest.java      |  14 +-
 .../type/dialect/MySQLDatabaseTypeTest.java        |  12 +-
 .../type/dialect/OracleDatabaseTypeTest.java       |  18 +-
 .../type/dialect/PostgreSQLDatabaseTypeTest.java   |  24 +-
 .../type/dialect/SQL92DatabaseTypeTest.java        |  12 +-
 .../type/dialect/SQLServerDatabaseTypeTest.java    |  12 +-
 .../infra/datanode/DataNodeTest.java               |  30 +-
 .../infra/datanode/DataNodeUtilTest.java           |   8 +-
 .../infra/datanode/DataNodesTest.java              |  14 +-
 .../pool/creator/DataSourcePoolCreatorTest.java    |   6 +-
 .../type/DBCPDataSourcePoolCreatorTest.java        |   4 +-
 .../type/HikariDataSourcePoolCreatorTest.java      |   4 +-
 .../destroyer/DataSourcePoolDestroyerTest.java     |   6 +-
 .../DefaultDataSourcePoolActiveDetectorTest.java   |   4 +-
 .../HikariDataSourcePoolActiveDetectorTest.java    |   8 +-
 .../props/DataSourcePropertiesCreatorTest.java     |   6 +-
 .../datasource/props/DataSourcePropertiesTest.java |  20 +-
 .../props/DataSourcePropertiesValidatorTest.java   |   6 +-
 .../custom/CustomDataSourcePropertiesTest.java     |   4 +-
 .../synonym/ConnectionPropertySynonymsTest.java    |  10 +-
 .../props/synonym/PoolPropertySynonymsTest.java    |  10 +-
 .../shardingsphere/infra/hint/HintManagerTest.java |  38 +--
 .../infra/hint/SQLHintExtractorTest.java           |  42 +--
 .../infra/hint/SQLHintUtilsTest.java               |  16 +-
 .../infra/instance/InstanceContextTest.java        |  18 +-
 .../metadata/InstanceMetaDataFactoryTest.java      |   6 +-
 .../infra/instance/util/IpUtilsTest.java           |   4 +-
 .../infra/metadata/ShardingSphereMetaDataTest.java |  12 +-
 .../PostgreSQLShardingSphereDataBuilderTest.java   |   4 +-
 .../database/ShardingSphereDatabaseTest.java       |  10 +-
 .../resource/ShardingSphereResourceTest.java       |   4 +-
 .../rule/ShardingSphereRuleMetaDataTest.java       |   8 +-
 .../database/schema/QualifiedDatabaseTest.java     |   4 +-
 .../database/schema/SchemaManagerTest.java         |  12 +-
 .../database/schema/ShardingSphereSchemaTest.java  |  28 +-
 .../schema/builder/GenericSchemaBuilderTest.java   |  10 +-
 .../builder/SystemSchemaBuilderRuleTest.java       |   8 +-
 .../schema/builder/SystemSchemaBuilderTest.java    |   8 +-
 .../MetaDataLoaderConnectionAdapterTest.java       |  14 +-
 .../loader/common/ColumnMetaDataLoaderTest.java    |   6 +-
 .../loader/common/IndexMetaDataLoaderTest.java     |   4 +-
 .../loader/common/SchemaMetaDataLoaderTest.java    |  16 +-
 .../loader/common/TableMetaDataLoaderTest.java     |   8 +-
 .../dialect/H2SchemaMetaDataLoaderTest.java        |   6 +-
 .../dialect/MySQLSchemaMetaDataLoaderTest.java     |   6 +-
 .../dialect/OracleSchemaMetaDataLoaderTest.java    |  16 +-
 .../PostgreSQLSchemaMetaDataLoaderTest.java        |   6 +-
 .../dialect/SQLServerSchemaMetaDataLoaderTest.java |  10 +-
 .../database/schema/model/TableMetaDataTest.java   |   6 +-
 .../schema/util/IndexMetaDataUtilTest.java         |  16 +-
 .../schema/util/SchemaMetaDataUtilTest.java        |   8 +-
 .../database/schema/util/SystemSchemaUtilTest.java |   8 +-
 .../infra/metadata/user/GranteeTest.java           |  16 +-
 .../builder/database/DatabaseRulesBuilderTest.java |   4 +-
 .../builder/global/GlobalRulesBuilderTest.java     |   6 +-
 .../infra/state/ClusterStateContextTest.java       |   8 +-
 .../infra/state/InstanceStateContextTest.java      |   8 +-
 .../YamlRuleConfigurationShortcutsTest.java        |   4 +-
 .../YamlAlgorithmConfigurationSwapperTest.java     |   6 +-
 .../mode/YamlModeConfigurationSwapperTest.java     |   6 +-
 .../YamlDataSourcePropertiesSwapperTest.java       |   8 +-
 .../YamlRuleConfigurationSwapperEngineTest.java    |   6 +-
 .../yaml/schema/swapper/YamlSchemaSwapperTest.java |  10 +-
 .../infra/context/kernel/KernelProcessorTest.java  |   4 +-
 .../infra/executor/kernel/ExecutorEngineTest.java  |  14 +-
 .../kernel/thread/ExecutorServiceManagerTest.java  |   4 +-
 .../thread/ExecutorThreadFactoryBuilderTest.java   |   4 +-
 .../sql/context/ExecutionContextBuilderTest.java   |   8 +-
 .../engine/ExecutorExceptionHandlerTest.java       |  10 +-
 .../engine/jdbc/JDBCExecutorCallbackTest.java      |  10 +-
 .../sql/execute/engine/jdbc/JDBCExecutorTest.java  |   8 +-
 .../jdbc/metadata/JDBCQueryResultMetaDataTest.java |  26 +-
 .../type/memory/JDBCMemoryQueryResultTest.java     |  64 ++--
 .../type/stream/JDBCStreamQueryResultTest.java     |  56 ++--
 .../driver/jdbc/type/util/ResultSetUtilTest.java   |  36 +--
 .../executor/sql/hook/SPISQLExecutionHookTest.java |  10 +-
 .../infra/executor/sql/log/SQLLoggerTest.java      |  12 +-
 .../executor/sql/process/ExecuteIDContextTest.java |  12 +-
 .../sql/process/ExecuteProcessReporterTest.java    |  10 +-
 .../infra/merge/MergeEngineTest.java               |  10 +-
 .../impl/TransparentResultDecoratorTest.java       |   6 +-
 .../merger/impl/TransparentResultMergerTest.java   |   4 +-
 .../impl/decorator/DecoratorMergedResultTest.java  |  12 +-
 .../impl/local/LocalDataMergedResultTest.java      |  12 +-
 .../result/impl/memory/MemoryMergedResultTest.java |  24 +-
 .../impl/memory/MemoryQueryResultRowTest.java      |  16 +-
 .../result/impl/stream/StreamMergedResultTest.java |  12 +-
 .../transparent/TransparentMergedResultTest.java   |  12 +-
 .../parser/cache/SQLStatementCacheBuilderTest.java |   4 +-
 .../parser/cache/SQLStatementCacheLoaderTest.java  |   4 +-
 .../infra/rewrite/SQLRewriteEntryTest.java         |   6 +-
 .../rewrite/context/SQLRewriteContextTest.java     |  12 +-
 .../engine/GenericSQLRewriteEngineTest.java        |   6 +-
 .../rewrite/engine/RouteSQLRewriteEngineTest.java  |  14 +-
 .../builder/impl/GroupedParameterBuilderTest.java  |  10 +-
 .../builder/impl/StandardParameterBuilderTest.java |   4 +-
 .../rewrite/sql/impl/DefaultSQLBuilderTest.java    |   6 +-
 .../rewrite/sql/impl/RouteSQLBuilderTest.java      |   6 +-
 .../token/generator/SQLTokenGeneratorsTest.java    |  10 +-
 .../builder/DefaultTokenGeneratorBuilderTest.java  |   8 +-
 .../infra/rewrite/sql/token/pojo/SQLTokenTest.java |   8 +-
 .../token/pojo/generic/ComposableSQLTokenTest.java |   4 +-
 .../token/pojo/generic/InsertColumnsTokenTest.java |   6 +-
 .../sql/token/pojo/generic/InsertValueTest.java    |   4 +-
 .../sql/token/pojo/generic/OwnerTokenTest.java     |  14 +-
 .../sql/token/pojo/generic/RemoveTokenTest.java    |   4 +-
 .../generic/SubstitutableColumnNameTokenTest.java  |   6 +-
 .../generic/UseDefaultInsertColumnsTokenTest.java  |   6 +-
 .../infra/route/context/RouteContextTest.java      |  20 +-
 .../infra/route/context/RouteUnitTest.java         |  10 +-
 .../route/engine/AllSQLRouteExecutorTest.java      |   4 +-
 .../infra/route/engine/SQLRouteEngineTest.java     |   6 +-
 .../expr/HotspotInlineExpressionParserTest.java    |  26 +-
 .../infra/util/eventbus/EventBusContextTest.java   |   4 +-
 .../exception/ShardingSpherePreconditionsTest.java |  10 +-
 .../ShardingSphereExternalExceptionTest.java       |   8 +-
 .../server/ShardingSphereServerExceptionTest.java  |   6 +-
 .../sql/type/feature/FeatureSQLExceptionTest.java  |   4 +-
 .../generic/DatabaseProtocolSQLExceptionTest.java  |   4 +-
 .../sql/type/generic/UnknownSQLExceptionTest.java  |   4 +-
 .../UnsupportedSQLOperationExceptionTest.java      |   4 +-
 .../sql/type/kernel/KernelSQLExceptionTest.java    |   6 +-
 .../sql/type/wrapper/SQLWrapperExceptionTest.java  |   4 +-
 .../ShardingSphereInternalExceptionTest.java       |  10 +-
 .../util/expr/InlineExpressionParserTest.java      |  26 +-
 .../infra/util/props/PropertiesConverterTest.java  |   6 +-
 .../infra/util/props/TypedPropertiesTest.java      |   8 +-
 .../infra/util/props/TypedPropertyValueTest.java   |  20 +-
 .../exception/TypedPropertiesExceptionTest.java    |   4 +-
 .../exception/TypedPropertyValueExceptionTest.java |   4 +-
 .../infra/util/reflection/ReflectionUtilTest.java  |  10 +-
 .../infra/util/retry/RetryExecutorTest.java        |  10 +-
 .../util/spi/ShardingSphereServiceLoaderTest.java  |  12 +-
 .../ServiceProviderNotFoundExceptionTest.java      |   6 +-
 .../spi/type/ordered/OrderedSPILoaderTest.java     |  10 +-
 .../ordered/cache/OrderedServicesCacheTest.java    |   8 +-
 .../util/spi/type/typed/TypedSPILoaderTest.java    |  16 +-
 .../infra/util/yaml/YamlEngineTest.java            |  18 +-
 .../ShardingSphereYamlConstructorTest.java         |   6 +-
 .../ShardingSphereYamlRepresenterTest.java         |   6 +-
 .../driver/ShardingSphereDriverTest.java           |   8 +-
 .../api/ShardingSphereDataSourceFactoryTest.java   |  22 +-
 .../YamlShardingSphereDataSourceFactoryTest.java   |  14 +-
 .../executor/batch/BatchExecutionUnitTest.java     |   8 +-
 .../batch/BatchPreparedStatementExecutorTest.java  |  16 +-
 .../adapter/AbstractDataSourceAdapterTest.java     |   8 +-
 .../driver/jdbc/adapter/ConnectionAdapterTest.java |  18 +-
 .../jdbc/adapter/PreparedStatementAdapterTest.java |  52 +--
 .../driver/jdbc/adapter/ResultSetAdapterTest.java  |  20 +-
 .../jdbc/adapter/ResultSetGetterAdapterTest.java   | 106 +++---
 .../driver/jdbc/adapter/StatementAdapterTest.java  |  48 +--
 .../driver/jdbc/adapter/WrapperAdapterTest.java    |  10 +-
 .../invocation/MethodInvocationRecorderTest.java   |   6 +-
 ...ractShardingSphereDataSourceForEncryptTest.java |   6 +-
 ...gSphereDataSourceForReadwriteSplittingTest.java |   4 +-
 ...tractShardingSphereDataSourceForShadowTest.java |   4 +-
 ...actShardingSphereDataSourceForShardingTest.java |   6 +-
 .../jdbc/context/CachedDatabaseMetaDataTest.java   |  10 +-
 .../core/connection/ConnectionManagerTest.java     |  28 +-
 .../connection/ShardingSphereConnectionTest.java   |  36 +--
 .../datasource/ShardingSphereDataSourceTest.java   |  22 +-
 .../ShardingSphereDatabaseMetaDataTest.java        | 350 ++++++++++----------
 .../core/driver/DriverDataSourceCacheTest.java     |   6 +-
 .../driver/ShardingSphereDriverURLManagerTest.java |  10 +-
 .../resultset/DatabaseMetaDataResultSetTest.java   |  98 +++---
 .../jdbc/core/resultset/EncryptResultSetTest.java  |  16 +-
 .../GeneratedKeysResultSetMetaDataTest.java        |  52 +--
 .../core/resultset/GeneratedKeysResultSetTest.java |  44 +--
 .../resultset/ShardingSphereResultSetTest.java     | 162 +++++-----
 .../resultset/ShardingSphereResultSetUtilTest.java |   6 +-
 .../statement/EncryptPreparedStatementTest.java    |  32 +-
 .../jdbc/core/statement/EncryptStatementTest.java  |  28 +-
 .../ReadwriteSplittingPreparedStatementTest.java   |  14 +-
 .../statement/ReadwriteSplittingStatementTest.java |   8 +-
 .../statement/ShadowPreparedStatementTest.java     |  20 +-
 .../jdbc/core/statement/ShadowStatementTest.java   |  20 +-
 .../ShardingSpherePreparedStatementTest.java       |  48 +--
 .../statement/ShardingSphereStatementTest.java     |  20 +-
 .../UnSupportedDatabaseMetaDataResultSetTest.java  |  48 +--
 .../UnsupportedGeneratedKeysResultSetTest.java     |  78 ++---
 .../UnsupportedOperationConnectionTest.java        |  42 +--
 .../UnsupportedOperationParameterMetaTest.java     |  18 +-
 .../UnsupportedOperationPreparedStatementTest.java |  22 +-
 .../UnsupportedOperationResultSetTest.java         |  72 ++---
 .../UnsupportedOperationStatementTest.java         |  10 +-
 .../UnsupportedUpdateOperationResultSetTest.java   | 168 +++++-----
 .../driver/state/DriverStateContextTest.java       |   8 +-
 .../state/circuit/CircuitBreakDriverStateTest.java |   4 +-
 .../connection/CircuitBreakerConnectionTest.java   |  36 +--
 .../datasource/CircuitBreakerDataSourceTest.java   |  10 +-
 .../CircuitBreakerDatabaseMetaDataTest.java        | 354 ++++++++++-----------
 .../driver/state/ok/OKDriverStateTest.java         |   6 +-
 .../authority/checker/AuthorityCheckerTest.java    |   6 +-
 .../DatabasePermittedPrivilegesProviderTest.java   |   4 +-
 .../AllPermittedPrivilegesProviderTest.java        |   4 +-
 .../authority/rule/AuthorityRuleTest.java          |  10 +-
 ...faultAuthorityRuleConfigurationBuilderTest.java |   4 +-
 .../YamlAuthorityRuleConfigurationSwapperTest.java |   8 +-
 .../swapper/YamlEngineUserConfigurationTest.java   |   8 +-
 .../yaml/swapper/YamlUserSwapperTest.java          |  14 +-
 .../handler/ShowAuthorityRuleExecutorTest.java     |   6 +-
 .../api/config/TableNameSchemaNameMappingTest.java |   8 +-
 ...gSpherePipelineDataSourceConfigurationTest.java |   4 +-
 ...tandardPipelineDataSourceConfigurationTest.java |   6 +-
 .../data/pipeline/api/metadata/TableNameTest.java  |   6 +-
 .../client/util/ProtobufAnyValueConverterTest.java |   4 +-
 .../pipeline/cdc/core/ack/CDCAckHolderTest.java    |   6 +-
 .../importer/SocketSinkImporterCreatorTest.java    |   4 +-
 .../data/pipeline/cdc/core/job/CDCJobIdTest.java   |   4 +-
 .../DataRecordComparatorGeneratorTest.java         |   4 +-
 .../pipeline/cdc/util/CDCDataRecordUtilsTest.java  |   4 +-
 .../pipeline/cdc/util/CDCSchemaTableUtilsTest.java |  13 +-
 .../cdc/util/ColumnValueConvertUtilsTest.java      |   4 +-
 .../cdc/util/DataRecordResultConvertUtilsTest.java |   4 +-
 .../job/YamlCDCJobConfigurationSwapperTest.java    |   4 +-
 .../pipeline/api/datanode/DataNodeUtilsTest.java   |   6 +-
 .../datasource/PipelineDataSourceWrapperTest.java  |  14 +-
 ...taConsistencyCalculateAlgorithmChooserTest.java |   8 +-
 .../consistency/DataConsistencyCheckUtilsTest.java |   4 +-
 ...MatchDataConsistencyCalculateAlgorithmTest.java |   8 +-
 .../algorithm/DataMatchCalculatedResultTest.java   |  14 +-
 .../datasource/PipelineDataSourceFactoryTest.java  |   4 +-
 .../execute/ShardingSphereDataCollectorTest.java   |   4 +-
 .../memory/MemoryPipelineChannelCreatorTest.java   |  10 +-
 .../datasource/AbstractDataSourcePreparerTest.java |   6 +-
 .../pipeline/core/util/DatabaseTypeUtilsTest.java  |   4 +-
 .../core/util/JobDataNodeLineConvertUtilsTest.java |   6 +-
 ...amlPipelineProcessConfigurationSwapperTest.java |  10 +-
 .../datasource/MySQLDataSourceCheckerTest.java     |  18 +-
 .../MySQLJdbcQueryPropertiesExtensionTest.java     |   4 +-
 .../mysql/ingest/MySQLIncrementalDumperTest.java   |  24 +-
 .../mysql/ingest/MySQLPositionInitializerTest.java |   6 +-
 .../mysql/ingest/binlog/BinlogContextTest.java     |  12 +-
 .../mysql/ingest/binlog/BinlogPositionTest.java    |   6 +-
 .../mysql/ingest/client/MySQLClientTest.java       |  18 +-
 .../ingest/client/PasswordEncryptionTest.java      |   8 +-
 .../mysql/ingest/client/ServerVersionTest.java     |   8 +-
 .../netty/MySQLBinlogEventPacketDecoderTest.java   |  22 +-
 .../netty/MySQLCommandPacketDecoderTest.java       |  10 +-
 .../client/netty/MySQLNegotiateHandlerTest.java    |  10 +-
 .../netty/MySQLNegotiatePackageDecoderTest.java    |  12 +-
 .../value/MySQLUnsignedBigintHandlerTest.java      |   4 +-
 .../column/value/MySQLUnsignedIntHandlerTest.java  |   4 +-
 .../value/MySQLUnsignedMediumintHandlerTest.java   |   4 +-
 .../value/MySQLUnsignedSmallintHandlerTest.java    |   4 +-
 .../value/MySQLUnsignedTinyintHandlerTest.java     |   4 +-
 .../sqlbuilder/MySQLPipelineSQLBuilderTest.java    |  12 +-
 .../OpenGaussJdbcQueryPropertiesExtensionTest.java |   4 +-
 .../ingest/wal/decode/MppdbDecodingPluginTest.java |  26 +-
 .../OpenGaussPipelineSQLBuilderTest.java           |   8 +-
 .../PostgreSQLDataSourceCheckerTest.java           |  10 +-
 ...PostgreSQLJdbcQueryPropertiesExtensionTest.java |   4 +-
 .../ingest/PostgreSQLPositionInitializerTest.java  |  12 +-
 .../postgresql/ingest/PostgreSQLWALDumperTest.java |   8 +-
 .../wal/PostgreSQLLogicalReplicationTest.java      |  14 +-
 .../ingest/wal/WALEventConverterTest.java          |  28 +-
 .../postgresql/ingest/wal/WALPositionTest.java     |   6 +-
 .../ingest/wal/decode/TestDecodingPluginTest.java  |  22 +-
 .../PostgreSQLPipelineSQLBuilderTest.java          |   8 +-
 .../ShowMigrationCheckAlgorithmsExecutorTest.java  |   4 +-
 .../ShowMigrationCheckStatusExecutorTest.java      |   8 +-
 .../query/ShowMigrationJobStatusExecutorTest.java  |   8 +-
 .../query/ShowMigrationListExecutorTest.java       |   4 +-
 ...howMigrationSourceStorageUnitsExecutorTest.java |   4 +-
 .../pipeline/core/job/PipelineJobIdUtilsTest.java  |   4 +-
 .../logging/rule/LoggingRuleTest.java              |   8 +-
 ...DefaultLoggingRuleConfigurationBuilderTest.java |   4 +-
 .../YamlLoggingRuleConfigurationSwapperTest.java   |   6 +-
 .../factory/ExternalMetaDataFactoryTest.java       |   8 +-
 .../persist/MetaDataPersistServiceTest.java        |   8 +-
 .../metadata/persist/node/ComputeNodeTest.java     |  22 +-
 .../persist/node/DatabaseMetaDataNodeTest.java     |  38 +--
 .../metadata/persist/node/GlobalNodeTest.java      |   6 +-
 .../DatabaseMetaDataPersistServiceTest.java        |  22 +-
 .../service/MetaDataVersionPersistServiceTest.java |  22 +-
 .../database/DataSourcePersistServiceTest.java     |   8 +-
 .../database/DatabaseRulePersistServiceTest.java   |   8 +-
 .../global/GlobalRulePersistServiceTest.java       |   6 +-
 .../global/PropertiesPersistServiceTest.java       |   4 +-
 .../schema/TableMetaDataPersistServiceTest.java    |   8 +-
 .../schema/ViewMetaDataPersistServiceTest.java     |   8 +-
 .../parser/rule/SQLParserRuleTest.java             |  10 +-
 ...faultSQLParserRuleConfigurationBuilderTest.java |   8 +-
 .../rule/builder/SQLParserRuleBuilderTest.java     |   8 +-
 ...LParserCacheOptionConfigurationSwapperTest.java |   6 +-
 .../YamlSQLParserRuleConfigurationSwapperTest.java |   8 +-
 .../query/ShowSQLParserRuleExecutorTest.java       |   6 +-
 .../AlterSQLParserRuleStatementUpdaterTest.java    |   4 +-
 .../datanode/SingleTableDataNodeLoaderTest.java    |   8 +-
 .../decider/SingleSQLFederationDeciderTest.java    |  12 +-
 .../metadata/SingleMetaDataReviseEngineTest.java   |   4 +-
 .../single/route/SingleSQLRouterTest.java          |  14 +-
 .../SingleDatabaseBroadcastRouteEngineTest.java    |   4 +-
 .../route/engine/SingleRouteEngineFactoryTest.java |  12 +-
 .../engine/SingleStandardRouteEngineTest.java      |  12 +-
 .../SingleMetaDataValidatorFactoryTest.java        |   6 +-
 .../ddl/SingleDropSchemaMetaDataValidatorTest.java |   8 +-
 .../shardingsphere/single/rule/SingleRuleTest.java |  36 +--
 .../DefaultSingleRuleConfigurationBuilderTest.java |   4 +-
 .../single/rule/builder/SingleRuleBuilderTest.java |   6 +-
 .../YamlSingleRuleConfigurationSwapperTest.java    |  10 +-
 .../enums/SQLFederationTypeEnumTest.java           |   4 +-
 .../AdvancedSQLFederationExecutorTest.java         |   6 +-
 .../result/SQLFederationResultSetTest.java         | 120 +++----
 .../executor/FilterableTableScanExecutorTest.java  |   4 +-
 .../optimizer/context/OptimizerContextTest.java    |   8 +-
 .../type/CombineOperatorConverterTest.java         |   4 +-
 .../sqltranslator/rule/SQLTranslatorRuleTest.java  |  16 +-
 .../handler/ShowSQLTranslatorRuleExecutorTest.java |   6 +-
 .../type/database/DatabaseTimeServiceTest.java     |   4 +-
 .../type/system/SystemTimeServiceTest.java         |   4 +-
 .../algorithm/engine/TrafficEngineTest.java        |  10 +-
 .../RandomTrafficLoadBalanceAlgorithmTest.java     |   4 +-
 .../RoundRobinTrafficLoadBalanceAlgorithmTest.java |   4 +-
 .../traffic/hint/SQLHintTrafficAlgorithmTest.java  |   6 +-
 .../segment/SQLMatchTrafficAlgorithmTest.java      |   8 +-
 .../segment/SQLRegexTrafficAlgorithmTest.java      |   8 +-
 .../transaction/FirstSQLTrafficAlgorithmTest.java  |   6 +-
 .../transaction/JDBCTrafficAlgorithmTest.java      |   6 +-
 .../transaction/ProxyTrafficAlgorithmTest.java     |   6 +-
 .../traffic/executor/TrafficExecutorTest.java      |   4 +-
 .../traffic/rule/TrafficRuleTest.java              |  10 +-
 ...DefaultTrafficRuleConfigurationBuilderTest.java |   4 +-
 .../YamlTrafficRuleConfigurationSwapperTest.java   |   6 +-
 ...amlTrafficStrategyConfigurationSwapperTest.java |   6 +-
 .../handler/query/ShowTrafficRuleExecutorTest.java |   6 +-
 .../AlterTrafficRuleStatementUpdaterTest.java      |  10 +-
 .../ConnectionSavepointManagerTest.java            |  12 +-
 .../transaction/ConnectionTransactionTest.java     |  10 +-
 ...ShardingSphereTransactionManagerEngineTest.java |   6 +-
 .../transaction/core/ResourceDataSourceTest.java   |   6 +-
 .../transaction/core/ResourceIDGeneratorTest.java  |   4 +-
 .../core/TransactionTypeHolderTest.java            |  14 +-
 .../transaction/core/TransactionTypeTest.java      |   6 +-
 .../transaction/rule/TransactionRuleTest.java      |  10 +-
 ...ultTransactionRuleConfigurationBuilderTest.java |   4 +-
 .../rule/builder/TransactionRuleBuilderTest.java   |   4 +-
 .../transaction/util/AutoCommitUtilsTest.java      |   8 +-
 ...amlTransactionRuleConfigurationSwapperTest.java |   6 +-
 .../query/ShowTransactionRuleExecutorTest.java     |   8 +-
 .../AlterTransactionRuleStatementUpdaterTest.java  |   6 +-
 ...eataATShardingSphereTransactionManagerTest.java |  26 +-
 .../base/seata/at/SeataIDContextTest.java          |  10 +-
 .../at/SeataTransactionalSQLExecutionHookTest.java |  10 +-
 .../xa/XAShardingSphereTransactionManagerTest.java |  22 +-
 .../dialect/H2XAConnectionWrapperTest.java         |   4 +-
 .../dialect/MariaDBXAConnectionWrapperTest.java    |   4 +-
 .../dialect/MySQLXAConnectionWrapperTest.java      |   4 +-
 .../dialect/OpenGaussXAConnectionWrapperTest.java  |   4 +-
 .../dialect/PostgreSQLXAConnectionWrapperTest.java |   4 +-
 .../datasource/XATransactionDataSourceTest.java    |  12 +-
 .../dialect/H2XADataSourceDefinitionTest.java      |   4 +-
 .../dialect/MariaDBXADataSourceDefinitionTest.java |   4 +-
 .../dialect/MySQLXADataSourceDefinitionTest.java   |   4 +-
 .../OpenGaussXADataSourceDefinitionTest.java       |   4 +-
 .../dialect/OracleXADataSourceDefinitionTest.java  |   4 +-
 .../PostgreSQLXADataSourceDefinitionTest.java      |   4 +-
 .../SQLServerXADataSourceDefinitionTest.java       |   4 +-
 .../datasource/swapper/DataSourceSwapperTest.java  |   6 +-
 .../DefaultDataSourcePropertyProviderTest.java     |   8 +-
 .../swapper/impl/HikariCPPropertyProviderTest.java |   8 +-
 .../AtomikosTransactionManagerProviderTest.java    |  16 +-
 .../manager/AtomikosXARecoverableResourceTest.java |   6 +-
 .../manager/BitronixRecoveryResourceTest.java      |  18 +-
 .../BitronixXATransactionManagerProviderTest.java  |  12 +-
 .../manager/SingleXAResourceHolderTest.java        |  16 +-
 .../DataSourceXAResourceRecoveryHelperTest.java    |  30 +-
 .../NarayanaXATransactionManagerProviderTest.java  |  14 +-
 .../transaction/xa/spi/SingleXAResourceTest.java   |  24 +-
 .../mode/lock/GlobalLockContextTest.java           |   8 +-
 .../mode/lock/GlobalLockDefinitionTest.java        |   4 +-
 .../ContextManagerBuilderParameterTest.java        |  18 +-
 .../mode/manager/ContextManagerTest.java           |  44 +--
 .../switcher/ResourceSwitchManagerTest.java        |   6 +-
 .../manager/switcher/SwitchingResourceTest.java    |   4 +-
 .../mode/metadata/MetaDataContextsFactoryTest.java |   8 +-
 .../mode/metadata/MetaDataContextsTest.java        |   4 +-
 .../cluster/ClusterModeContextManagerTest.java     |  56 ++--
 .../watcher/GlobalRuleChangedWatcherTest.java      |   4 +-
 .../watcher/PropertiesChangedWatcherTest.java      |   6 +-
 .../watcher/MetaDataChangedWatcherTest.java        |  26 +-
 .../registry/process/node/ProcessNodeTest.java     |   6 +-
 .../subscriber/ProcessRegistrySubscriberTest.java  |   6 +-
 .../cluster/service/ClusterStatusServiceTest.java  |   6 +-
 .../watcher/ClusterStateChangedWatcherTest.java    |   8 +-
 .../service/ComputeNodeStatusServiceTest.java      |  22 +-
 .../ComputeNodeStateChangedWatcherTest.java        |  10 +-
 .../status/storage/node/StorageNodeTest.java       |   8 +-
 .../service/StorageNodeStatusServiceTest.java      |   4 +-
 .../StorageNodeStatusSubscriberTest.java           |  10 +-
 .../StorageNodeStateChangedWatcherTest.java        |  10 +-
 .../generator/ClusterWorkerIdGeneratorTest.java    |   6 +-
 .../registry/workerid/node/WorkerIdNodeTest.java   |   4 +-
 .../subscriber/CacheEvictedSubscriberTest.java     |   4 +-
 .../ConfigurationChangedSubscriberTest.java        |  14 +-
 .../ProcessListChangedSubscriberTest.java          |  10 +-
 .../ResourceMetaDataChangedSubscriberTest.java     |  16 +-
 .../subscriber/StateChangedSubscriberTest.java     |  22 +-
 .../lock/holder/DistributedLockHolderTest.java     |   6 +-
 .../impl/props/DefaultLockTypedPropertiesTest.java |   6 +-
 .../cluster/consul/ConsulRepositoryTest.java       |  20 +-
 .../cluster/consul/props/ConsulPropertiesTest.java |   6 +-
 .../cluster/etcd/EtcdRepositoryTest.java           |  28 +-
 .../cluster/etcd/props/EtcdPropertiesTest.java     |   6 +-
 .../cluster/nacos/NacosRepositoryTest.java         |  32 +-
 .../cluster/nacos/props/NacosPropertiesTest.java   |   6 +-
 .../cluster/zookeeper/ZookeeperRepositoryTest.java |  32 +-
 .../handler/ZookeeperExceptionHandlerTest.java     |   4 +-
 .../zookeeper/props/ZookeeperPropertiesTest.java   |   6 +-
 .../StandaloneContextManagerBuilderTest.java       |   4 +-
 ...lPersistRepositoryConfigurationSwapperTest.java |   6 +-
 .../ProcessStandaloneSubscriberTest.java           |   4 +-
 .../generator/StandaloneWorkerIdGeneratorTest.java |  10 +-
 .../standalone/jdbc/JDBCRepositoryTest.java        |  32 +-
 .../standalone/h2/H2JDBCRepositoryTest.java        |  12 +-
 .../mysql/MySQLJDBCRepositoryProviderTest.java     |  12 +-
 .../config/ProxyConfigurationLoaderTest.java       |   6 +-
 .../swapper/YamlProxyConfigurationSwapperTest.java |   4 +-
 ...amlProxyDataSourceConfigurationSwapperTest.java |   4 +-
 .../backend/connector/BackendConnectionTest.java   |  54 ++--
 .../connector/DatabaseConnectorFactoryTest.java    |   6 +-
 .../backend/connector/DatabaseConnectorTest.java   |  16 +-
 .../backend/connector/ProxySQLExecutorTest.java    |  28 +-
 .../jdbc/connection/ResourceLockTest.java          |   6 +-
 .../jdbc/datasource/JDBCBackendDataSourceTest.java |  10 +-
 .../transaction/BackendTransactionManagerTest.java |  20 +-
 .../transaction/LocalTransactionManagerTest.java   |  10 +-
 .../sane/DefaultSaneQueryResultEngineTest.java     |   6 +-
 .../context/BackendExecutorContextTest.java        |   4 +-
 .../proxy/backend/context/ProxyContextTest.java    |  20 +-
 .../handler/ProxyBackendHandlerFactoryTest.java    |  36 +--
 .../DatabaseAdminQueryBackendHandlerTest.java      |  10 +-
 .../DefaultDatabaseMetaDataExecutorTest.java       |   8 +-
 .../data/DatabaseBackendHandlerFactoryTest.java    |   8 +-
 .../impl/UnicastDatabaseBackendHandlerTest.java    |   8 +-
 .../database/CreateDatabaseBackendHandlerTest.java |  10 +-
 .../DatabaseOperateBackendHandlerFactoryTest.java  |  24 +-
 .../database/DropDatabaseBackendHandlerTest.java   |  14 +-
 .../distsql/DistSQLBackendHandlerFactoryTest.java  |  38 +--
 .../ral/QueryableRALBackendHandlerTest.java        |  10 +-
 ...iscoveryRuleConfigurationImportCheckerTest.java |   8 +-
 ...plittingRuleConfigurationImportCheckerTest.java |   6 +-
 ...ShardingRuleConfigurationImportCheckerTest.java |  10 +-
 .../ConvertYamlConfigurationExecutorTest.java      |  21 +-
 .../ExportDatabaseConfigurationExecutorTest.java   |   8 +-
 .../ral/queryable/ExportMetaDataExecutorTest.java  |   8 +-
 .../queryable/ExportStorageNodesExecutorTest.java  |  12 +-
 .../queryable/ShowComputeNodeInfoExecutorTest.java |   6 +-
 .../queryable/ShowComputeNodeModeExecutorTest.java |   6 +-
 .../queryable/ShowComputeNodesExecutorTest.java    |   8 +-
 .../queryable/ShowDistVariableExecutorTest.java    |  16 +-
 .../queryable/ShowDistVariablesExecutorTest.java   |   6 +-
 .../queryable/ShowMigrationRuleExecutorTest.java   |   4 +-
 ...tusFromReadwriteSplittingRulesExecutorTest.java |   6 +-
 .../queryable/ShowTableMetaDataExecutorTest.java   |   6 +-
 ...ttingStorageUnitStatusStatementUpdaterTest.java |   8 +-
 .../ImportDatabaseConfigurationUpdaterTest.java    |  24 +-
 .../ral/updatable/ImportMetaDataUpdaterTest.java   |  10 +-
 .../ral/updatable/LabelComputeNodeUpdaterTest.java |   4 +-
 .../ral/updatable/LockClusterUpdaterTest.java      |   8 +-
 .../RefreshDatabaseMetaDataUpdaterTest.java        |   4 +-
 .../updatable/RefreshTableMetaDataUpdaterTest.java |  12 +-
 ...DistVariableUpdatableRALBackendHandlerTest.java |  20 +-
 .../ral/updatable/SetDistVariableUpdaterTest.java  |  14 +-
 .../updatable/SetInstanceStatusUpdaterTest.java    |  10 +-
 .../updatable/UnlabelComputeNodeUpdaterTest.java   |   4 +-
 .../ral/updatable/UnlockClusterUpdaterTest.java    |   6 +-
 .../distsql/rdl/RDLBackendHandlerFactoryTest.java  |  10 +-
 .../rdl/rule/RuleDefinitionBackendHandlerTest.java |   4 +-
 ...SingleTableStorageUnitStatementUpdaterTest.java |  10 +-
 .../unit/AlterStorageUnitBackendHandlerTest.java   |  12 +-
 .../RegisterStorageUnitBackendHandlerTest.java     |  14 +-
 .../UnregisterStorageUnitBackendHandlerTest.java   |  18 +-
 .../rql/rule/CountSingleTableExecutorTest.java     |   6 +-
 ...wDefaultSingleTableStorageUnitExecutorTest.java |   6 +-
 .../rql/rule/ShowLogicalTableExecutorTest.java     |  10 +-
 .../rule/ShowRulesUsedStorageUnitExecutorTest.java |   8 +-
 .../rql/rule/ShowSingleTableExecutorTest.java      |  14 +-
 .../storage/unit/ShowStorageUnitExecutorTest.java  |  10 +-
 .../distsql/rul/sql/ParseDistSQLHandlerTest.java   |  10 +-
 .../handler/skip/SkipBackendHandlerTest.java       |   4 +-
 .../TransactionBackendHandlerFactoryTest.java      |   8 +-
 .../transaction/TransactionBackendHandlerTest.java |   4 +-
 .../response/data/QueryResponseRowTest.java        |   6 +-
 .../header/update/UpdateResponseHeaderTest.java    |  12 +-
 .../backend/session/ConnectionSessionTest.java     |  16 +-
 .../RequiredSessionVariableRecorderTest.java       |   8 +-
 .../ServerPreparedStatementRegistryTest.java       |   6 +-
 .../session/transaction/TransactionStatusTest.java |   8 +-
 .../backend/state/impl/ReadOnlyProxyStateTest.java |   6 +-
 .../state/impl/UnavailableProxyStateTest.java      |   6 +-
 .../proxy/backend/util/RegularUtilsTest.java       |   8 +-
 .../backend/util/SystemPropertyUtilsTest.java      |   6 +-
 ...CommonHeterogeneousSQLStatementCheckerTest.java |  18 +-
 .../hbase/checker/HBaseCheckerFactoryTest.java     |  12 +-
 .../HeterogeneousDeleteStatementCheckerTest.java   |  16 +-
 .../HeterogeneousInsertStatementCheckerTest.java   |  18 +-
 .../HeterogeneousSelectStatementCheckerTest.java   |  50 +--
 .../HeterogeneousUpdateStatementCheckerTest.java   |  18 +-
 .../HBaseOperationConverterFactoryTest.java        |  12 +-
 .../hbase/converter/HBaseRowKeyExtractorTest.java  |   4 +-
 .../type/HBaseDeleteOperationConverterTest.java    |   6 +-
 .../type/HBaseUpdateOperationConverterTest.java    |   6 +-
 .../query/AbstractHBaseQueryResultSetTest.java     |   4 +-
 .../result/query/HBaseDescribeResultSetTest.java   |   8 +-
 .../hbase/result/query/HBaseListResultSetTest.java |  10 +-
 .../update/HBaseBackendUpdateHandlerTest.java      |   8 +-
 .../hbase/util/HBaseHeterogeneousUtilsTest.java    |   4 +-
 ...StatementMemoryStrictlyFetchSizeSetterTest.java |   4 +-
 .../sane/MySQLSaneQueryResultEngineTest.java       |  18 +-
 .../DefaultMySQLSessionVariableHandlerTest.java    |   6 +-
 .../executor/MySQLAdminExecutorCreatorTest.java    |  50 +--
 .../executor/MySQLAdminExecutorFactoryTest.java    |   8 +-
 .../MySQLSetVariableAdminExecutorTest.java         |   4 +-
 .../executor/ShowConnectionIdExecutorTest.java     |   6 +-
 .../executor/ShowCreateDatabaseExecutorTest.java   |   4 +-
 .../executor/ShowCurrentUserExecutorTest.java      |   4 +-
 .../admin/executor/ShowDatabasesExecutorTest.java  |  12 +-
 .../executor/ShowFunctionStatusExecutorTest.java   |   4 +-
 .../executor/ShowProcedureStatusExecutorTest.java  |   4 +-
 .../executor/ShowProcessListExecutorTest.java      |   4 +-
 .../admin/executor/ShowTablesExecutorTest.java     |  14 +-
 .../admin/executor/ShowVersionExecutorTest.java    |  10 +-
 .../admin/executor/UseDatabaseExecutorTest.java    |   6 +-
 .../SelectInformationSchemataExecutorTest.java     |  12 +-
 .../header/query/MySQLQueryHeaderBuilderTest.java  |  12 +-
 ...StatementMemoryStrictlyFetchSizeSetterTest.java |   4 +-
 .../sane/OpenGaussSaneQueryResultEngineTest.java   |   6 +-
 .../admin/OpenGaussAdminExecutorCreatorTest.java   |  10 +-
 .../admin/OpenGaussAdminExecutorFactoryTest.java   |  10 +-
 ...enGaussSystemCatalogAdminQueryExecutorTest.java |  10 +-
 .../query/OpenGaussQueryHeaderBuilderTest.java     |   4 +-
 ...StatementMemoryStrictlyFetchSizeSetterTest.java |   4 +-
 .../sane/PostgreSQLSaneQueryResultEngineTest.java  |   6 +-
 .../admin/PostgreSQLAdminExecutorCreatorTest.java  |  24 +-
 .../handler/admin/PostgreSQLCharacterSetsTest.java |  10 +-
 ...ostgreSQLDefaultSessionVariableHandlerTest.java |   6 +-
 .../PostgreSQLResetVariableAdminExecutorTest.java  |   4 +-
 .../PostgreSQLSetVariableAdminExecutorTest.java    |   4 +-
 .../admin/PostgreSQLShowVariableExecutorTest.java  |   6 +-
 .../admin/executor/SelectDatabaseExecutorTest.java |  10 +-
 .../admin/executor/SelectTableExecutorTest.java    |   4 +-
 .../query/PostgreSQLQueryHeaderBuilderTest.java    |   4 +-
 .../proxy/arguments/BootstrapArgumentsTest.java    |  32 +-
 .../shardingsphere/proxy/config/LogbackTest.java   |   4 +-
 .../proxy/database/DatabaseServerInfoTest.java     |   6 +-
 .../version/ShardingSphereProxyVersionTest.java    |   8 +-
 .../AuthenticationResultBuilderTest.java           |   8 +-
 .../frontend/command/CommandExecutorTaskTest.java  |  14 +-
 .../connection/ConnectionIdGeneratorTest.java      |   8 +-
 .../connection/ConnectionLimitContextTest.java     |   6 +-
 .../frontend/exception/ExpectedExceptionsTest.java |   6 +-
 .../ConnectionThreadExecutorGroupTest.java         |   6 +-
 .../netty/CDCChannelInboundHandlerTest.java        |  10 +-
 .../netty/CDCServerHandlerInitializerTest.java     |   4 +-
 .../netty/FrontendChannelInboundHandlerTest.java   |  10 +-
 .../netty/ServerHandlerInitializerTest.java        |   4 +-
 .../FrontDatabaseProtocolTypeFactoryTest.java      |   8 +-
 .../state/impl/CircuitBreakProxyStateTest.java     |   4 +-
 .../frontend/state/impl/LockProxyStateTest.java    |   4 +-
 .../frontend/state/impl/OKProxyStateTest.java      |  10 +-
 .../frontend/mysql/MySQLFrontendContextTest.java   |   6 +-
 .../frontend/mysql/MySQLFrontendEngineTest.java    |  14 +-
 .../MySQLAuthenticationEngineTest.java             |  20 +-
 .../authenticator/MySQLAuthenticatorTypeTest.java  |  10 +-
 .../impl/MySQLClearPasswordAuthenticatorTest.java  |   8 +-
 .../command/MySQLCommandExecutorFactoryTest.java   |  30 +-
 .../command/MySQLCommandPacketFactoryTest.java     |  66 ++--
 .../command/ServerStatusFlagCalculatorTest.java    |  10 +-
 .../admin/MySQLComResetConnectionExecutorTest.java |   4 +-
 .../admin/MySQLComSetOptionExecutorTest.java       |   4 +-
 .../MySQLComStmtSendLongDataExecutorTest.java      |   4 +-
 .../binary/MySQLStatementIDGeneratorTest.java      |   8 +-
 .../close/MySQLComStmtCloseExecutorTest.java       |   4 +-
 .../execute/MySQLComStmtExecuteExecutorTest.java   |  10 +-
 .../prepare/MySQLComStmtPrepareCheckerTest.java    |   4 +-
 .../prepare/MySQLComStmtPrepareExecutorTest.java   |  16 +-
 ...ComStmtPrepareParameterMarkerExtractorTest.java |   4 +-
 .../reset/MySQLComStmtResetExecutorTest.java       |   4 +-
 .../query/builder/ResponsePacketBuilderTest.java   |   8 +-
 .../query/MySQLComQueryPacketExecutorTest.java     |  16 +-
 .../query/MySQLMultiStatementsHandlerTest.java     |   4 +-
 .../mysql/err/MySQLErrPacketFactoryTest.java       |  12 +-
 .../opengauss/OpenGaussFrontendEngineTest.java     |  14 +-
 .../OpenGaussAuthenticationEngineTest.java         |  10 +-
 .../OpenGaussAuthenticatorTypeTest.java            |  10 +-
 .../OpenGaussMD5PasswordAuthenticatorTest.java     |   6 +-
 .../OpenGaussCommandExecutorFactoryTest.java       |  12 +-
 .../bind/OpenGaussComBatchBindExecutorTest.java    |   4 +-
 .../simple/OpenGaussComQueryExecutorTest.java      |  14 +-
 .../err/OpenGaussErrorPacketFactoryTest.java       |   8 +-
 .../postgresql/PostgreSQLFrontendContextTest.java  |   4 +-
 .../postgresql/PostgreSQLFrontendEngineTest.java   |   4 +-
 .../PostgreSQLAuthenticationEngineTest.java        |  14 +-
 .../PostgreSQLAuthenticatorTypeTest.java           |  10 +-
 .../PostgreSQLMD5PasswordAuthenticatorTest.java    |   6 +-
 .../impl/PostgreSQLPasswordAuthenticatorTest.java  |   8 +-
 .../postgresql/command/PortalContextTest.java      |  12 +-
 .../PostgreSQLCommandExecuteEngineTest.java        |  12 +-
 .../PostgreSQLCommandExecutorFactoryTest.java      |   8 +-
 .../PostgreSQLComTerminationExecutorTest.java      |   4 +-
 .../PostgreSQLUnsupportedCommandExecutorTest.java  |   4 +-
 .../command/query/PostgreSQLCommandTest.java       |  92 +++---
 .../command/query/extended/PortalTest.java         |  20 +-
 ...egatedBatchedStatementsCommandExecutorTest.java |   4 +-
 .../PostgreSQLAggregatedCommandExecutorTest.java   |   4 +-
 .../PostgreSQLBatchedStatementsExecutorTest.java   |   4 +-
 .../bind/PostgreSQLComBindExecutorTest.java        |   4 +-
 .../close/PostgreSQLComCloseExecutorTest.java      |   6 +-
 .../PostgreSQLComDescribeExecutorTest.java         |  18 +-
 .../execute/PostgreSQLComExecuteExecutorTest.java  |  12 +-
 .../parse/PostgreSQLComParseExecutorTest.java      |  10 +-
 .../sync/PostgreSQLComSyncExecutorTest.java        |   4 +-
 .../simple/PostgreSQLComQueryExecutorTest.java     |  14 +-
 .../err/PostgreSQLErrPacketFactoryTest.java        |   8 +-
 .../sql/parser/mysql/MySQLFormatTest.java          |   4 +-
 .../sql/parser/mysql/MySQLParameterizedTest.java   |   4 +-
 .../sql/parser/mysql/MySQLTableVisitorTest.java    |   4 +-
 .../sql/parser/mysql/MySQLXAVisitorTest.java       |   4 +-
 .../sql/parser/api/SQLParserExecutorTest.java      |   4 +-
 .../sql/parser/core/ParseASTNodeTest.java          |   4 +-
 .../sql/parser/core/SQLParserEngineTest.java       |   4 +-
 .../sql/parser/core/SQLParserFactoryTest.java      |   4 +-
 .../database/cache/ParseTreeCacheBuilderTest.java  |   4 +-
 .../database/cache/ParseTreeCacheLoaderTest.java   |   4 +-
 .../core/database/visitor/SQLVisitorRuleTest.java  |   6 +-
 .../sql/parser/sql/common/SQLStatsTest.java        |   6 +-
 .../sql/common/enums/AggregationTypeTest.java      |   4 +-
 .../parser/sql/common/enums/DirectionTypeTest.java |   4 +-
 .../sql/common/enums/LogicalOperatorTest.java      |  12 +-
 .../sql/parser/sql/common/enums/ParenTest.java     |  18 +-
 .../sql/common/enums/QuoteCharacterTest.java       |  18 +-
 .../sql/common/extractor/TableExtractorTest.java   |  14 +-
 .../segment/dml/column/ColumnSegmentTest.java      |  10 +-
 .../generic/table/SimpleTableSegmentTest.java      |   6 +-
 .../sql/common/statement/SQLStatementTypeTest.java |  14 +-
 .../common/statement/dml/EmptyStatementTest.java   |   4 +-
 .../util/ColumnExtractorParameterizedTest.java     |   4 +-
 .../sql/common/util/ColumnExtractorTest.java       |   4 +-
 .../common/util/ExpressionExtractUtilsTest.java    |  14 +-
 .../sql/parser/sql/common/util/SQLUtilsTest.java   |  34 +-
 .../common/util/SafeNumberOperationUtilsTest.java  |  62 ++--
 .../sql/common/util/SubqueryExtractUtilsTest.java  |  14 +-
 .../sql/common/util/WhereExtractUtilsTest.java     |   8 +-
 .../value/identifier/IdentifierValueTest.java      |  12 +-
 .../handler/dal/ExplainStatementHandlerTest.java   |   8 +-
 .../handler/dal/FlushStatementHandlerTest.java     |   6 +-
 .../ddl/AlterIndexStatementHandlerTest.java        |  16 +-
 .../ddl/AlterSchemaStatementHandlerTest.java       |   8 +-
 .../handler/ddl/AlterViewStatementHandlerTest.java |  16 +-
 .../handler/ddl/ClusterStatementHandlerTest.java   |  10 +-
 .../handler/ddl/CommentStatementHandlerTest.java   |   6 +-
 .../ddl/CreateFunctionStatementHandlerTest.java    |   8 +-
 .../ddl/CreateIndexStatementHandlerTest.java       |  10 +-
 .../ddl/CreateProcedureStatementHandlerTest.java   |   8 +-
 .../ddl/CreateSchemaStatementHandlerTest.java      |   8 +-
 .../ddl/CreateTableStatementHandlerTest.java       |   8 +-
 .../handler/ddl/DropIndexStatementHandlerTest.java |  20 +-
 .../ddl/DropSchemaStatementHandlerTest.java        |   8 +-
 .../handler/ddl/DropTableStatementHandlerTest.java |  18 +-
 .../handler/dml/CopyStatementHandlerTest.java      |  14 +-
 .../handler/dml/DeleteStatementHandlerTest.java    |  18 +-
 .../handler/dml/InsertStatementHandlerTest.java    |  34 +-
 .../handler/dml/SelectStatementHandlerTest.java    |  42 +--
 .../handler/dml/UpdateStatementHandlerTest.java    |  14 +-
 .../api/datanode/JobDataNodeEntryTest.java         |   6 +-
 .../pipeline/api/datanode/JobDataNodeLineTest.java |   6 +-
 .../config/yaml/YamlJdbcConfigurationTest.java     |   4 +-
 .../api/impl/GovernanceRepositoryAPIImplTest.java  |  16 +-
 ...lineProcessConfigurationPersistServiceTest.java |   6 +-
 ...MatchDataConsistencyCalculateAlgorithmTest.java |  10 +-
 .../datasource/AbstractDataSourceCheckerTest.java  |  12 +-
 .../DefaultPipelineDataSourceManagerTest.java      |  10 +-
 .../pipeline/core/execute/ExecuteEngineTest.java   |  10 +-
 .../core/importer/DataRecordMergerTest.java        |  32 +-
 .../core/importer/DataSourceImporterTest.java      |  12 +-
 .../ingest/channel/memory/ManualBitSetTest.java    |  12 +-
 .../memory/MultiplexMemoryPipelineChannelTest.java |   6 +-
 .../position/IntegerPrimaryKeyPositionTest.java    |   8 +-
 .../ingest/position/NoUniqueKeyPositionTest.java   |   6 +-
 .../ingest/position/PlaceholderPositionTest.java   |   6 +-
 .../position/StringPrimaryKeyPositionTest.java     |   8 +-
 .../position/UnsupportedKeyPositionTest.java       |   6 +-
 .../core/ingest/record/DataRecordTest.java         |   6 +-
 .../InventoryIncrementalJobItemProgressTest.java   |  12 +-
 ...ntoryIncrementalJobItemProgressSwapperTest.java |  10 +-
 .../StandardPipelineTableMetaDataLoaderTest.java   |   6 +-
 .../metadata/model/PipelineTableMetaDataTest.java  |  12 +-
 .../metadata/node/PipelineMetaDataNodeTest.java    |  28 +-
 .../core/prepare/InventoryTaskSplitterTest.java    |  20 +-
 .../data/pipeline/core/record/RecordUtilsTest.java |  10 +-
 .../pipeline/core/task/IncrementalTaskTest.java    |  10 +-
 .../data/pipeline/core/task/InventoryTaskTest.java |  12 +-
 .../core/util/PipelineDistributedBarrierTest.java  |   8 +-
 .../core/util/spi/PipelineTypedSPILoaderTest.java  |  10 +-
 .../consistencycheck/ConsistencyCheckJobTest.java  |   6 +-
 .../api/impl/ConsistencyCheckJobAPITest.java       |  10 +-
 .../util/ConsistencyCheckSequenceTest.java         |   6 +-
 .../migration/api/impl/MigrationJobAPITest.java    |  44 +--
 .../MigrationDataConsistencyCheckerTest.java       |   6 +-
 .../YamlMigrationJobConfigurationSwapperTest.java  |   4 +-
 .../data/pipeline/spi/job/JobTypeFactoryTest.java  |   4 +-
 .../spi/sqlbuilder/PipelineSQLBuilderTest.java     |  22 +-
 1291 files changed, 7735 insertions(+), 7749 deletions(-)

diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
index 0415e66b25b..d34b45bab31 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/loader/YamlAdvisorsConfigurationLoaderTest.java
@@ -34,10 +34,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class YamlAdvisorsConfigurationLoaderTest {
+class YamlAdvisorsConfigurationLoaderTest {
     
     @Test
-    public void assertLoad() {
+    void assertLoad() {
         YamlAdvisorsConfiguration actual = YamlAdvisorsConfigurationLoader.load(getClass().getResourceAsStream("/META-INF/conf/advisors.yaml"));
         assertThat(actual.getAdvisors().size(), is(1));
         assertYamlAdvisorConfiguration(actual.getAdvisors().iterator().next());
@@ -85,7 +85,7 @@ public final class YamlAdvisorsConfigurationLoaderTest {
     }
     
     @Test
-    public void assertLoadEmptyFile() {
+    void assertLoadEmptyFile() {
         YamlAdvisorsConfiguration actual = YamlAdvisorsConfigurationLoader.load(getClass().getResourceAsStream("/META-INF/conf/empty-advisors.yaml"));
         assertTrue(actual.getAdvisors().isEmpty());
     }
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
index 352fa3dcb5b..6b2a43e91f6 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/advisor/config/yaml/swapper/YamlAdvisorsConfigurationSwapperTest.java
@@ -32,10 +32,10 @@ import java.util.List;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class YamlAdvisorsConfigurationSwapperTest {
+class YamlAdvisorsConfigurationSwapperTest {
     
     @Test
-    public void assertSwapToObject() {
+    void assertSwapToObject() {
         Collection<AdvisorConfiguration> actual = YamlAdvisorsConfigurationSwapper.swap(
                 AgentYamlEngine.unmarshalYamlAdvisorsConfiguration(getClass().getResourceAsStream("/META-INF/conf/advisors.yaml")), "FIXTURE");
         assertThat(actual.size(), is(1));
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
index f938ef3685d..e51306b373d 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/builder/AgentBuilderFactoryTest.java
@@ -39,12 +39,12 @@ import java.util.Map;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class AgentBuilderFactoryTest {
+class AgentBuilderFactoryTest {
     
     private static ResettableClassFileTransformer agent;
     
     @BeforeAll
-    public static void setup() {
+    static void setup() {
         ByteBuddyAgent.install();
         AdvisorConfiguration advisorConfig = createAdvisorConfiguration();
         Map<String, AdvisorConfiguration> advisorConfigs = Collections.singletonMap(advisorConfig.getTargetClassName(), advisorConfig);
@@ -68,26 +68,26 @@ public final class AgentBuilderFactoryTest {
     }
     
     @AfterAll
-    public static void destroy() {
+    static void destroy() {
         agent.reset(ByteBuddyAgent.getInstrumentation(), AgentBuilder.RedefinitionStrategy.RETRANSFORMATION);
     }
     
     @Test
-    public void assertAdviceConstructor() {
+    void assertAdviceConstructor() {
         List<String> queue = new LinkedList<>();
         new TargetObjectFixture(queue);
         assertThat(queue, is(Arrays.asList("on constructor", "foo constructor", "bar constructor")));
     }
     
     @Test
-    public void assertAdviceInstanceMethod() {
+    void assertAdviceInstanceMethod() {
         List<String> queue = new LinkedList<>();
         new TargetObjectFixture(new LinkedList<>()).call(queue);
         assertThat(queue, is(Arrays.asList("foo before instance method", "bar before instance method", "on instance method", "foo after instance method", "bar after instance method")));
     }
     
     @Test
-    public void assertAdviceInstanceMethodWhenExceptionThrown() {
+    void assertAdviceInstanceMethodWhenExceptionThrown() {
         List<String> queue = new LinkedList<>();
         try {
             new TargetObjectFixture(new LinkedList<>()).callWhenExceptionThrown(queue);
@@ -98,14 +98,14 @@ public final class AgentBuilderFactoryTest {
     }
     
     @Test
-    public void assertAdviceStaticMethod() {
+    void assertAdviceStaticMethod() {
         List<String> queue = new LinkedList<>();
         TargetObjectFixture.staticCall(queue);
         assertThat(queue, is(Arrays.asList("foo before static method", "bar before static method", "on static method", "foo after static method", "bar after static method")));
     }
     
     @Test
-    public void assertAdviceStaticMethodWhenExceptionThrown() {
+    void assertAdviceStaticMethodWhenExceptionThrown() {
         List<String> queue = new LinkedList<>();
         try {
             TargetObjectFixture.staticCallWhenExceptionThrown(queue);
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginContextTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginContextTest.java
index d81cb035268..87806e7edc8 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginContextTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginContextTest.java
@@ -22,27 +22,27 @@ import org.junit.jupiter.api.Test;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class PluginContextTest {
+class PluginContextTest {
     
     @Test
-    public void assertNotPluginEnabledKey() {
+    void assertNotPluginEnabledKey() {
         assertFalse(PluginContext.isPluginEnabled());
     }
     
     @Test
-    public void assertPluginEnabledKeyIsFalse() {
+    void assertPluginEnabledKeyIsFalse() {
         System.setProperty("AGENT_PLUGINS_ENABLED", "false");
         assertFalse(PluginContext.isPluginEnabled());
     }
     
     @Test
-    public void assertPluginEnabledKeyIsZero() {
+    void assertPluginEnabledKeyIsZero() {
         System.setProperty("AGENT_PLUGINS_ENABLED", "0");
         assertFalse(PluginContext.isPluginEnabled());
     }
     
     @Test
-    public void assertPluginEnabled() {
+    void assertPluginEnabled() {
         System.setProperty("AGENT_PLUGINS_ENABLED", "1");
         assertTrue(PluginContext.isPluginEnabled());
         System.setProperty("AGENT_PLUGINS_ENABLED", "true");
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginLifecycleServiceManagerTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginLifecycleServiceManagerTest.java
index 4b1866a9b6f..d803a650fc9 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginLifecycleServiceManagerTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/PluginLifecycleServiceManagerTest.java
@@ -34,21 +34,21 @@ import static org.mockito.ArgumentMatchers.anyString;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 
-public final class PluginLifecycleServiceManagerTest {
+class PluginLifecycleServiceManagerTest {
     
     @Test
-    public void assertInitPluginLifecycleService() {
+    void assertInitPluginLifecycleService() {
         PluginLifecycleServiceManager.init(Collections.emptyMap(), Collections.emptyList(), new MultipleParentClassLoader(Collections.emptyList()), true);
     }
     
     @Test
-    public void assertInitPluginLifecycleServiceWithMap() {
+    void assertInitPluginLifecycleServiceWithMap() {
         Map<String, PluginConfiguration> pluginConfigs = Collections.singletonMap("Key", new PluginConfiguration("localhost", 8080, "random", new Properties()));
         PluginLifecycleServiceManager.init(pluginConfigs, Collections.emptyList(), new MultipleParentClassLoader(Collections.emptyList()), true);
     }
     
     @Test
-    public void assertInitPluginLifecycleServiceWithMockHandler() throws MalformedURLException {
+    void assertInitPluginLifecycleServiceWithMockHandler() throws MalformedURLException {
         URLStreamHandlerFactory urlStreamHandlerFactory = mock(URLStreamHandlerFactory.class);
         PluginLifecycleServiceManager.init(Collections.emptyMap(), Collections.emptyList(),
                 new PrivateMLet(new URL[]{Paths.get(System.getProperty("java.io.tmpdir"), "test.txt").toUri().toURL()},
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
index 14a8ba4aa74..b85fd4fa4df 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/PluginConfigurationLoaderTest.java
@@ -31,10 +31,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 
-public final class PluginConfigurationLoaderTest {
+class PluginConfigurationLoaderTest {
     
     @Test
-    public void assertLoad() throws IOException {
+    void assertLoad() throws IOException {
         Map<String, PluginConfiguration> actual = PluginConfigurationLoader.load(new File(getResourceURL()));
         assertThat(actual.size(), is(3));
         assertLoggingPluginConfiguration(actual.get("log_fixture"));
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
index 5fe941b6b3d..3bb953f64d9 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/config/yaml/swapper/YamlPluginsConfigurationSwapperTest.java
@@ -38,19 +38,19 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class YamlPluginsConfigurationSwapperTest {
+class YamlPluginsConfigurationSwapperTest {
     
     private static final String CONFIG_PATH = "/conf/agent.yaml";
     
     @Test
-    public void assertSwapWithNullPlugins() {
+    void assertSwapWithNullPlugins() {
         YamlAgentConfiguration yamlAgentConfig = new YamlAgentConfiguration();
         yamlAgentConfig.setPlugins(new YamlPluginCategoryConfiguration());
         assertTrue(YamlPluginsConfigurationSwapper.swap(yamlAgentConfig).isEmpty());
     }
     
     @Test
-    public void assertSwapWithSinglePluginConfiguration() {
+    void assertSwapWithSinglePluginConfiguration() {
         YamlPluginCategoryConfiguration yamlPluginCategoryConfig = new YamlPluginCategoryConfiguration();
         yamlPluginCategoryConfig.setLogging(Collections.singletonMap("log_fixture", createYamlPluginConfiguration("localhost", "random", 8080, new Properties())));
         YamlAgentConfiguration yamlAgentConfig = new YamlAgentConfiguration();
@@ -65,7 +65,7 @@ public final class YamlPluginsConfigurationSwapperTest {
     }
     
     @Test
-    public void assertSwapWithMultiplePluginConfigurations() {
+    void assertSwapWithMultiplePluginConfigurations() {
         YamlPluginCategoryConfiguration yamlPluginCategoryConfig = new YamlPluginCategoryConfiguration();
         yamlPluginCategoryConfig.setLogging(Collections.singletonMap("log_fixture", createYamlPluginConfiguration(null, null, 8080, createProperties())));
         yamlPluginCategoryConfig.setMetrics(Collections.singletonMap("metrics_fixture", createYamlPluginConfiguration("localhost", "random", 8081, createProperties())));
@@ -80,7 +80,7 @@ public final class YamlPluginsConfigurationSwapperTest {
     }
     
     @Test
-    public void assertSwapWithFile() throws IOException {
+    void assertSwapWithFile() throws IOException {
         YamlAgentConfiguration yamlAgentConfig = AgentYamlEngine.unmarshalYamlAgentConfiguration(new FileInputStream(new File(getResourceURL(), CONFIG_PATH)));
         Map<String, PluginConfiguration> actual = YamlPluginsConfigurationSwapper.swap(yamlAgentConfig);
         assertThat(actual.size(), is(3));
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
index b0b54011329..bc9b5604ed1 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/plugin/jar/PluginJarLoaderTest.java
@@ -31,10 +31,10 @@ import static org.hamcrest.CoreMatchers.endsWith;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PluginJarLoaderTest {
+class PluginJarLoaderTest {
     
     @Test
-    public void assertLoad() throws IOException {
+    void assertLoad() throws IOException {
         Collection<JarFile> jarFiles = PluginJarLoader.load(new File(getResourceURL()));
         assertThat(jarFiles.size(), is(1));
         assertThat(jarFiles.iterator().next().getName(), endsWith("test-plugin.jar"));
diff --git a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
index 68432bedf6d..3d25685aef3 100644
--- a/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
+++ b/agent/core/src/test/java/org/apache/shardingsphere/agent/core/spi/AgentServiceLoaderTest.java
@@ -28,25 +28,25 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class AgentServiceLoaderTest {
+class AgentServiceLoaderTest {
     
     @Test
-    public void assertGetServiceLoaderWithNullValue() {
+    void assertGetServiceLoaderWithNullValue() {
         assertThrows(NullPointerException.class, () -> AgentServiceLoader.getServiceLoader(null));
     }
     
     @Test
-    public void assertGetServiceLoaderWithNoInterface() {
+    void assertGetServiceLoaderWithNoInterface() {
         assertThrows(IllegalArgumentException.class, () -> AgentServiceLoader.getServiceLoader(Object.class));
     }
     
     @Test
-    public void assertGetServiceLoaderWithEmptyInstances() {
+    void assertGetServiceLoaderWithEmptyInstances() {
         assertTrue(AgentServiceLoader.getServiceLoader(AgentServiceEmptySPIFixture.class).getServices().isEmpty());
     }
     
     @Test
-    public void assertGetServiceLoaderWithImplementSPI() {
+    void assertGetServiceLoaderWithImplementSPI() {
         AgentServiceLoader<AgentServiceSPIFixture> actual = AgentServiceLoader.getServiceLoader(AgentServiceSPIFixture.class);
         assertThat(actual.getServices().size(), is(1));
         AgentServiceSPIFixture actualInstance = actual.getServices().iterator().next();
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/config/validator/PluginConfigurationValidatorTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/config/validator/PluginConfigurationValidatorTest.java
index e7db2207566..d0f05755d44 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/config/validator/PluginConfigurationValidatorTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/config/validator/PluginConfigurationValidatorTest.java
@@ -22,25 +22,25 @@ import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PluginConfigurationValidatorTest {
+class PluginConfigurationValidatorTest {
     
     @Test
-    public void assertValidateHostAndPortSuccess() {
+    void assertValidateHostAndPortSuccess() {
         PluginConfigurationValidator.validateHostAndPort("foo_type", new PluginConfiguration("localhost", 8080, "pwd", null));
     }
     
     @Test
-    public void assertValidateHostAndPortWhenHostIsEmpty() {
+    void assertValidateHostAndPortWhenHostIsEmpty() {
         assertThrows(IllegalArgumentException.class, () -> PluginConfigurationValidator.validateHostAndPort("foo_type", new PluginConfiguration("", 8080, "pwd", null)));
     }
     
     @Test
-    public void assertValidateHostAndPortWhenHostIsNull() {
+    void assertValidateHostAndPortWhenHostIsNull() {
         assertThrows(IllegalArgumentException.class, () -> PluginConfigurationValidator.validateHostAndPort("foo_type", new PluginConfiguration(null, 8080, "pwd", null)));
     }
     
     @Test
-    public void assertValidateHostAndPortWhenPortLessThanOne() {
+    void assertValidateHostAndPortWhenPortLessThanOne() {
         assertThrows(IllegalArgumentException.class, () -> PluginConfigurationValidator.validateHostAndPort("foo_type", new PluginConfiguration("localhost", 0, "pwd", null)));
     }
 }
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
index 070e8793028..e6bf3a63525 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/AgentReflectionUtilsTest.java
@@ -23,16 +23,16 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class AgentReflectionUtilsTest {
+class AgentReflectionUtilsTest {
     
     @Test
-    public void assertGetFieldValue() {
+    void assertGetFieldValue() {
         ReflectionFixture reflectionFixture = new ReflectionFixture("foo");
         assertThat(AgentReflectionUtils.getFieldValue(reflectionFixture, "value"), is(reflectionFixture.getValue()));
     }
     
     @Test
-    public void assertInvokeMethod() throws NoSuchMethodException {
+    void assertInvokeMethod() throws NoSuchMethodException {
         assertThat(AgentReflectionUtils.invokeMethod(ReflectionFixture.class.getDeclaredMethod("call"), new ReflectionFixture("foo")), is("foo"));
     }
 }
diff --git a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java
index 61af0382211..df99bd65677 100644
--- a/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java
+++ b/agent/plugins/core/src/test/java/org/apache/shardingsphere/agent/plugin/core/util/MethodTimeRecorderTest.java
@@ -25,10 +25,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.greaterThanOrEqualTo;
 
-public final class MethodTimeRecorderTest {
+class MethodTimeRecorderTest {
     
     @Test
-    public void assertGetElapsedTimeAndCleanWithRecorded() throws InterruptedException, NoSuchMethodException {
+    void assertGetElapsedTimeAndCleanWithRecorded() throws InterruptedException, NoSuchMethodException {
         MethodTimeRecorder methodTimeRecorder = new MethodTimeRecorder(AgentAdvice.class);
         methodTimeRecorder.record(Object.class.getDeclaredMethod("toString"));
         Thread.sleep(5L);
@@ -36,7 +36,7 @@ public final class MethodTimeRecorderTest {
     }
     
     @Test
-    public void assertGetElapsedTimeAndCleanWithoutRecorded() throws NoSuchMethodException {
+    void assertGetElapsedTimeAndCleanWithoutRecorded() throws NoSuchMethodException {
         assertThat(new MethodTimeRecorder(AgentAdvice.class).getElapsedTimeAndClean(Object.class.getDeclaredMethod("toString")), is(0L));
     }
 }
diff --git a/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/advice/MetaDataContextsFactoryAdviceTest.java b/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/advice/MetaDataContextsFactoryAdviceTest.java
index 5926825dfa7..38e2236aa2b 100644
--- a/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/advice/MetaDataContextsFactoryAdviceTest.java
+++ b/agent/plugins/logging/type/file/src/test/java/org/apache/shardingsphere/agent/plugin/logging/file/advice/MetaDataContextsFactoryAdviceTest.java
@@ -33,12 +33,12 @@ import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.is;
 import static org.mockito.Mockito.mock;
 
-public final class MetaDataContextsFactoryAdviceTest {
+class MetaDataContextsFactoryAdviceTest {
     
     private ListAppender<ILoggingEvent> listAppender;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         Logger logger = (Logger) LoggerFactory.getLogger(MetaDataContextsFactoryAdvice.class);
         listAppender = new ListAppender<>();
         listAppender.start();
@@ -46,7 +46,7 @@ public final class MetaDataContextsFactoryAdviceTest {
     }
     
     @Test
-    public void assertLog() {
+    void assertLog() {
         MetaDataContextsFactoryAdvice advice = new MetaDataContextsFactoryAdvice();
         Method method = mock(Method.class);
         advice.beforeMethod(null, method, new Object[]{}, "FIXTURE");
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
index 9348d115de8..a3d7aa2c9c1 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
@@ -36,17 +36,17 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class RouteResultCountAdviceTest {
+class RouteResultCountAdviceTest {
     
     private final MetricConfiguration routedResultConfig = new MetricConfiguration("routed_result_total", MetricCollectorType.COUNTER, null, Arrays.asList("object", "name"));
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(routedResultConfig, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertCountRouteResult() {
+    void assertCountRouteResult() {
         RouteContext routeContext = new RouteContext();
         RouteMapper dataSourceMapper = new RouteMapper("logic_db", "ds_0");
         RouteMapper tableMapper = new RouteMapper("t_order", "t_order_0");
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
index 1babdb98380..e69647b63ea 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLParseCountAdviceTest.java
@@ -46,72 +46,72 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class SQLParseCountAdviceTest {
+class SQLParseCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("parsed_sql_total", MetricCollectorType.COUNTER, null, Collections.singletonList("type"), Collections.emptyMap());
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertParseInsertSQL() {
+    void assertParseInsertSQL() {
         assertParse(new MySQLInsertStatement(), "INSERT=1");
     }
     
     @Test
-    public void assertParseUpdateSQL() {
+    void assertParseUpdateSQL() {
         assertParse(new MySQLUpdateStatement(), "UPDATE=1");
     }
     
     @Test
-    public void assertParseDeleteSQL() {
+    void assertParseDeleteSQL() {
         assertParse(new MySQLDeleteStatement(), "DELETE=1");
     }
     
     @Test
-    public void assertParseSelectSQL() {
+    void assertParseSelectSQL() {
         assertParse(new MySQLSelectStatement(), "SELECT=1");
     }
     
     @Test
-    public void assertParseDDL() {
+    void assertParseDDL() {
         assertParse(new MySQLCreateDatabaseStatement(), "DDL=1");
     }
     
     @Test
-    public void assertParseDCL() {
+    void assertParseDCL() {
         assertParse(new MySQLCreateUserStatement(), "DCL=1");
     }
     
     @Test
-    public void assertParseDAL() {
+    void assertParseDAL() {
         assertParse(new MySQLShowDatabasesStatement(), "DAL=1");
     }
     
     @Test
-    public void assertParseTCL() {
+    void assertParseTCL() {
         assertParse(new MySQLCommitStatement(), "TCL=1");
     }
     
     @Test
-    public void assertParseRQL() {
+    void assertParseRQL() {
         assertParse(new ShowStorageUnitsStatement(new DatabaseSegment(0, 0, null), null), "RQL=1");
     }
     
     @Test
-    public void assertParseRDL() {
+    void assertParseRDL() {
         assertParse(new RegisterStorageUnitStatement(false, Collections.emptyList()), "RDL=1");
     }
     
     @Test
-    public void assertParseRAL() {
+    void assertParseRAL() {
         assertParse(new ShowMigrationListStatement(), "RAL=1");
     }
     
     @Test
-    public void assertParseRUL() {
+    void assertParseRUL() {
         assertParse(new FormatStatement("SELECT * FROM tbl"), "RUL=1");
     }
     
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
index c24f12a1477..a4c676a1929 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/SQLRouteCountAdviceTest.java
@@ -39,42 +39,42 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class SQLRouteCountAdviceTest {
+class SQLRouteCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("routed_sql_total", MetricCollectorType.COUNTER, null, Collections.singletonList("type"), Collections.emptyMap());
     
     private final SQLRouteCountAdvice advice = new SQLRouteCountAdvice();
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertInsertRoute() {
+    void assertInsertRoute() {
         QueryContext queryContext = new QueryContext(new CommonSQLStatementContext<>(new MySQLInsertStatement()), "", Collections.emptyList());
         assertRoute(queryContext, "INSERT=1");
     }
     
     @Test
-    public void assertUpdateRoute() {
+    void assertUpdateRoute() {
         QueryContext queryContext = new QueryContext(new CommonSQLStatementContext<>(new MySQLUpdateStatement()), "", Collections.emptyList());
         assertRoute(queryContext, "UPDATE=1");
     }
     
     @Test
-    public void assertDeleteRoute() {
+    void assertDeleteRoute() {
         QueryContext queryContext = new QueryContext(new CommonSQLStatementContext<>(new MySQLDeleteStatement()), "", Collections.emptyList());
         assertRoute(queryContext, "DELETE=1");
     }
     
     @Test
-    public void assertSelectRoute() {
+    void assertSelectRoute() {
         QueryContext queryContext = new QueryContext(new CommonSQLStatementContext<>(new MySQLSelectStatement()), "", Collections.emptyList());
         assertRoute(queryContext, "SELECT=1");
     }
     
-    public void assertRoute(final QueryContext queryContext, final String expected) {
+    void assertRoute(final QueryContext queryContext, final String expected) {
         advice.beforeMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{new ConnectionContext(), queryContext}, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is(expected));
     }
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
index 319117008de..edec28a464e 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteCountAdviceTest.java
@@ -32,25 +32,25 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class AbstractExecuteCountAdviceTest {
+class AbstractExecuteCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("jdbc_statement_execute_total", MetricCollectorType.COUNTER,
             "Total number of statement execute", Collections.singletonList("statement_type"));
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertWithStatement() {
+    void assertWithStatement() {
         StatementExecuteCountAdvice advice = new StatementExecuteCountAdvice();
         advice.afterMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("statement=1"));
     }
     
     @Test
-    public void assertWithPreparedStatement() {
+    void assertWithPreparedStatement() {
         PreparedStatementExecuteCountAdvice advice = new PreparedStatementExecuteCountAdvice();
         advice.afterMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("prepared_statement=1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
index 76151f5510b..c396c37ce21 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteErrorsCountAdviceTest.java
@@ -33,25 +33,25 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class AbstractExecuteErrorsCountAdviceTest {
+class AbstractExecuteErrorsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("jdbc_statement_execute_errors_total", MetricCollectorType.COUNTER,
             "Total number of statement execute error", Collections.singletonList("statement_type"));
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertWithStatement() {
+    void assertWithStatement() {
         StatementExecuteErrorsCountAdvice advice = new StatementExecuteErrorsCountAdvice();
         advice.onThrowing(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, mock(IOException.class), "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("statement=1"));
     }
     
     @Test
-    public void assertWithPreparedStatement() {
+    void assertWithPreparedStatement() {
         PreparedStatementExecuteErrorsCountAdvice advice = new PreparedStatementExecuteErrorsCountAdvice();
         advice.onThrowing(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, mock(IOException.class), "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("prepared_statement=1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteLatencyHistogramAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteLatencyHistogramAdviceTest.java
index 457cf054728..0615fae8f05 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteLatencyHistogramAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractExecuteLatencyHistogramAdviceTest.java
@@ -31,17 +31,17 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.greaterThanOrEqualTo;
 import static org.mockito.Mockito.mock;
 
-public final class AbstractExecuteLatencyHistogramAdviceTest {
+class AbstractExecuteLatencyHistogramAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("jdbc_statement_execute_latency_millis", MetricCollectorType.HISTOGRAM, null);
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertWithStatement() throws InterruptedException {
+    void assertWithStatement() throws InterruptedException {
         StatementExecuteLatencyHistogramAdvice advice = new StatementExecuteLatencyHistogramAdvice();
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         Method method = mock(Method.class);
@@ -52,7 +52,7 @@ public final class AbstractExecuteLatencyHistogramAdviceTest {
     }
     
     @Test
-    public void assertWithPreparedStatement() throws InterruptedException {
+    void assertWithPreparedStatement() throws InterruptedException {
         PreparedStatementExecuteLatencyHistogramAdvice advice = new PreparedStatementExecuteLatencyHistogramAdvice();
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         Method method = mock(Method.class);
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
index bbdaf7d036e..02906214ab4 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/jdbc/AbstractTransactionsCountAdviceTest.java
@@ -32,25 +32,25 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class AbstractTransactionsCountAdviceTest {
+class AbstractTransactionsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("jdbc_transactions_total", MetricCollectorType.COUNTER,
             "Total transactions of ShardingSphere-JDBC", Collections.singletonList("type"));
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertWithCommit() {
+    void assertWithCommit() {
         CommitTransactionsCountAdvice advice = new CommitTransactionsCountAdvice();
         advice.afterMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("commit=1"));
     }
     
     @Test
-    public void assertWithRollback() {
+    void assertWithRollback() {
         RollbackTransactionsCountAdvice advice = new RollbackTransactionsCountAdvice();
         advice.afterMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("rollback=1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
index cd20b79a02e..d33e6988fbf 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CommitTransactionsCountAdviceTest.java
@@ -32,19 +32,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class CommitTransactionsCountAdviceTest {
+class CommitTransactionsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_transactions_total", MetricCollectorType.COUNTER, null, Collections.singletonList("type"), Collections.emptyMap());
     
     private final CommitTransactionsCountAdvice advice = new CommitTransactionsCountAdvice();
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertMethod() {
+    void assertMethod() {
         advice.beforeMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("commit=1"));
     }
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
index b45ce32be94..9a4ad030cd2 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/CurrentConnectionsCountAdviceTest.java
@@ -33,19 +33,19 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class CurrentConnectionsCountAdviceTest {
+class CurrentConnectionsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_current_connections", MetricCollectorType.GAUGE, null, Collections.emptyList(), Collections.emptyMap());
     
     private final CurrentConnectionsCountAdvice advice = new CurrentConnectionsCountAdvice();
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertCountCurrentConnections() {
+    void assertCountCurrentConnections() {
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         advice.beforeMethod(targetObject, mockMethod("channelActive"), new Object[]{}, "FIXTURE");
         advice.beforeMethod(targetObject, mockMethod("channelActive"), new Object[]{}, "FIXTURE");
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
index e4ff40ef718..7a793ee62bf 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteErrorsCountAdviceTest.java
@@ -32,17 +32,17 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class ExecuteErrorsCountAdviceTest {
+class ExecuteErrorsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_execute_errors_total", MetricCollectorType.COUNTER, null, Collections.emptyList(), Collections.emptyMap());
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertCountExecuteErrors() {
+    void assertCountExecuteErrors() {
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         new ExecuteErrorsCountAdvice().afterMethod(targetObject, mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteLatencyHistogramAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteLatencyHistogramAdviceTest.java
index 12b93fe923e..99799775b94 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteLatencyHistogramAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/ExecuteLatencyHistogramAdviceTest.java
@@ -32,17 +32,17 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.greaterThanOrEqualTo;
 import static org.mockito.Mockito.mock;
 
-public final class ExecuteLatencyHistogramAdviceTest {
+class ExecuteLatencyHistogramAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_execute_latency_millis", MetricCollectorType.HISTOGRAM, null, Collections.emptyList(), Collections.emptyMap());
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertExecuteLatencyHistogram() throws InterruptedException {
+    void assertExecuteLatencyHistogram() throws InterruptedException {
         ExecuteLatencyHistogramAdvice advice = new ExecuteLatencyHistogramAdvice();
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         Method method = mock(Method.class);
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
index a8fe5e0b0e4..0550eda303f 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RequestsCountAdviceTest.java
@@ -32,19 +32,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class RequestsCountAdviceTest {
+class RequestsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_requests_total", MetricCollectorType.COUNTER, null, Collections.emptyList(), Collections.emptyMap());
     
     private final RequestsCountAdvice advice = new RequestsCountAdvice();
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertCountRequests() {
+    void assertCountRequests() {
         TargetAdviceObjectFixture targetObject = new TargetAdviceObjectFixture();
         advice.afterMethod(targetObject, mock(Method.class), new Object[]{}, null, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
index c0462b7941d..c209686a532 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/advice/proxy/RollbackTransactionsCountAdviceTest.java
@@ -32,19 +32,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class RollbackTransactionsCountAdviceTest {
+class RollbackTransactionsCountAdviceTest {
     
     private final MetricConfiguration config = new MetricConfiguration("proxy_transactions_total", MetricCollectorType.COUNTER, null, Collections.singletonList("type"), Collections.emptyMap());
     
     private final RollbackTransactionsCountAdvice advice = new RollbackTransactionsCountAdvice();
     
     @AfterEach
-    public void reset() {
+    void reset() {
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertMethod() {
+    void assertMethod() {
         advice.beforeMethod(new TargetAdviceObjectFixture(), mock(Method.class), new Object[]{}, "FIXTURE");
         assertThat(MetricsCollectorRegistry.get(config, "FIXTURE").toString(), is("rollback=1"));
     }
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
index b23dc0ed662..b3faf415462 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/BuildInfoExporterTest.java
@@ -34,16 +34,16 @@ import static org.hamcrest.CoreMatchers.containsString;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class BuildInfoExporterTest {
+class BuildInfoExporterTest {
     
     @AfterEach
-    public void reset() {
+    void reset() {
         MetricConfiguration config = new MetricConfiguration("build_info", MetricCollectorType.GAUGE_METRIC_FAMILY, null, Arrays.asList("name", "version"), Collections.emptyMap());
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertExport() {
+    void assertExport() {
         Optional<GaugeMetricFamilyMetricsCollector> collector = new BuildInfoExporter().export("FIXTURE");
         assertTrue(collector.isPresent());
         assertThat(collector.get().toString(), containsString("ShardingSphere=1"));
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
index e7e0687f121..89c4f6d481e 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCMetaDataInfoExporterTest.java
@@ -36,10 +36,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class JDBCMetaDataInfoExporterTest {
+class JDBCMetaDataInfoExporterTest {
     
     @AfterEach
-    public void reset() throws SQLException {
+    void reset() {
         MetricConfiguration config = new MetricConfiguration("jdbc_meta_data_info",
                 MetricCollectorType.GAUGE_METRIC_FAMILY, "Meta data information of ShardingSphere-JDBC",
                 Arrays.asList("database", "type"), Collections.emptyMap());
@@ -47,7 +47,7 @@ public final class JDBCMetaDataInfoExporterTest {
     }
     
     @Test
-    public void assertExport() throws SQLException {
+    void assertExport() throws SQLException {
         DriverManager.registerDriver(new ShardingSphereDriver());
         DriverManager.getConnection("jdbc:shardingsphere:classpath:config/driver/foo-driver-fixture.yaml");
         Optional<GaugeMetricFamilyMetricsCollector> collector = new JDBCMetaDataInfoExporter().export("FIXTURE");
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
index 7219cc63b25..0be1c7f7b83 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/jdbc/JDBCStateExporterTest.java
@@ -34,16 +34,16 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class JDBCStateExporterTest {
+class JDBCStateExporterTest {
     
     @AfterEach
-    public void reset() {
+    void reset() {
         MetricConfiguration config = new MetricConfiguration("jdbc_state", MetricCollectorType.GAUGE_METRIC_FAMILY, "State of ShardingSphere-JDBC. 0 is OK; 1 is CIRCUIT BREAK; 2 is LOCK");
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertExport() throws SQLException {
+    void assertExport() throws SQLException {
         DriverManager.registerDriver(new ShardingSphereDriver());
         Optional<GaugeMetricFamilyMetricsCollector> collector = new JDBCStateExporter().export("FIXTURE");
         assertTrue(collector.isPresent());
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
index 55bce4b454d..17c3c8ca431 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyMetaDataInfoExporterTest.java
@@ -48,22 +48,22 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(AutoMockExtension.class)
 @StaticMockSettings(ProxyContext.class)
-public final class ProxyMetaDataInfoExporterTest {
+class ProxyMetaDataInfoExporterTest {
     
     @AfterEach
-    public void reset() {
+    void reset() {
         MetricConfiguration config = new MetricConfiguration("proxy_meta_data_info", MetricCollectorType.GAUGE_METRIC_FAMILY, null, Collections.singletonList("name"), Collections.emptyMap());
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertExportWithoutContextManager() {
+    void assertExportWithoutContextManager() {
         when(ProxyContext.getInstance().getContextManager()).thenReturn(null);
         assertFalse(new ProxyMetaDataInfoExporter().export("FIXTURE").isPresent());
     }
     
     @Test
-    public void assertExportWithContextManager() {
+    void assertExportWithContextManager() {
         ContextManager contextManager = mockContextManager();
         when(ProxyContext.getInstance().getContextManager()).thenReturn(contextManager);
         Optional<GaugeMetricFamilyMetricsCollector> collector = new ProxyMetaDataInfoExporter().export("FIXTURE");
diff --git a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
index 1c76b597906..42a9b4f2aee 100644
--- a/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
+++ b/agent/plugins/metrics/core/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporterTest.java
@@ -55,22 +55,22 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(AutoMockExtension.class)
 @StaticMockSettings(ProxyContext.class)
-public final class ProxyStateExporterTest {
+class ProxyStateExporterTest {
     
     @AfterEach
-    public void reset() {
+    void reset() {
         MetricConfiguration config = new MetricConfiguration("proxy_state", MetricCollectorType.GAUGE_METRIC_FAMILY, null, Collections.emptyList(), Collections.emptyMap());
         ((MetricsCollectorFixture) MetricsCollectorRegistry.get(config, "FIXTURE")).reset();
     }
     
     @Test
-    public void assertExportWithoutContextManager() {
+    void assertExportWithoutContextManager() {
         when(ProxyContext.getInstance().getContextManager()).thenReturn(null);
         assertFalse(new ProxyStateExporter().export("FIXTURE").isPresent());
     }
     
     @Test
-    public void assertExportWithContextManager() {
+    void assertExportWithContextManager() {
         ContextManager contextManager = mockContextManager();
         when(ProxyContext.getInstance().getContextManager()).thenReturn(contextManager);
         when(ProxyContext.getInstance().getInstanceStateContext()).thenReturn(Optional.of(mock(InstanceStateContext.class, RETURNS_DEEP_STUBS)));
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/PrometheusPluginLifecycleServiceTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/PrometheusPluginLifecycleServiceTest.java
index e2c26ac879f..84428f93a0e 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/PrometheusPluginLifecycleServiceTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/PrometheusPluginLifecycleServiceTest.java
@@ -48,17 +48,17 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(AutoMockExtension.class)
 @StaticMockSettings(ProxyContext.class)
-public final class PrometheusPluginLifecycleServiceTest {
+class PrometheusPluginLifecycleServiceTest {
     
     private final PrometheusPluginLifecycleService pluginLifecycleService = new PrometheusPluginLifecycleService();
     
     @AfterEach
-    public void close() {
+    void close() {
         pluginLifecycleService.close();
     }
     
     @Test
-    public void assertStart() throws IOException {
+    void assertStart() throws IOException {
         ContextManager contextManager = mockContextManager();
         when(ProxyContext.getInstance().getContextManager()).thenReturn(contextManager);
         pluginLifecycleService.start(new PluginConfiguration("localhost", 8090, "", PropertiesBuilder.build(new Property("JVM_INFORMATION_COLLECTOR_ENABLED", Boolean.TRUE.toString()))), true);
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/PrometheusMetricsCollectorFactoryTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/PrometheusMetricsCollectorFactoryTest.java
index 152479612f5..ee3462ffe0a 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/PrometheusMetricsCollectorFactoryTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/PrometheusMetricsCollectorFactoryTest.java
@@ -31,34 +31,34 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusMetricsCollectorFactoryTest {
+class PrometheusMetricsCollectorFactoryTest {
     
     @Test
-    public void assertCreateCounterCollector() {
+    void assertCreateCounterCollector() {
         MetricConfiguration config = new MetricConfiguration("test_counter", MetricCollectorType.COUNTER, null, Collections.emptyList(), Collections.emptyMap());
         assertThat(new PrometheusMetricsCollectorFactory().create(config), instanceOf(PrometheusMetricsCounterCollector.class));
     }
     
     @Test
-    public void assertCreateGaugeCollector() {
+    void assertCreateGaugeCollector() {
         MetricConfiguration config = new MetricConfiguration("test_gauge", MetricCollectorType.GAUGE, null, Collections.emptyList(), Collections.emptyMap());
         assertThat(new PrometheusMetricsCollectorFactory().create(config), instanceOf(PrometheusMetricsGaugeCollector.class));
     }
     
     @Test
-    public void assertCreateHistogramCollector() {
+    void assertCreateHistogramCollector() {
         MetricConfiguration config = new MetricConfiguration("test_histogram", MetricCollectorType.HISTOGRAM, null, Collections.emptyList(), Collections.emptyMap());
         assertThat(new PrometheusMetricsCollectorFactory().create(config), instanceOf(PrometheusMetricsHistogramCollector.class));
     }
     
     @Test
-    public void assertCreateSummaryCollector() {
+    void assertCreateSummaryCollector() {
         MetricConfiguration config = new MetricConfiguration("test_summary", MetricCollectorType.SUMMARY, null, Collections.emptyList(), Collections.emptyMap());
         assertThat(new PrometheusMetricsCollectorFactory().create(config), instanceOf(PrometheusMetricsSummaryCollector.class));
     }
     
     @Test
-    public void assertCreateGaugeMetricFamilyCollector() {
+    void assertCreateGaugeMetricFamilyCollector() {
         MetricConfiguration config = new MetricConfiguration("test_summary", MetricCollectorType.GAUGE_METRIC_FAMILY, null, Collections.emptyList(), Collections.emptyMap());
         assertThat(new PrometheusMetricsCollectorFactory().create(config), instanceOf(PrometheusMetricsGaugeMetricFamilyCollector.class));
     }
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
index ffbf65afdba..806e9d4afcf 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsCounterCollectorTest.java
@@ -28,10 +28,10 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusMetricsCounterCollectorTest {
+class PrometheusMetricsCounterCollectorTest {
     
     @Test
-    public void assertCreate() throws ReflectiveOperationException {
+    void assertCreate() throws ReflectiveOperationException {
         PrometheusMetricsCounterCollector collector = new PrometheusMetricsCounterCollector(new MetricConfiguration("foo_counter",
                 MetricCollectorType.COUNTER, "foo_help", Collections.emptyList(), Collections.emptyMap()));
         collector.inc();
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
index 068c449f44f..de6ad0a7682 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeCollectorTest.java
@@ -28,10 +28,10 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusMetricsGaugeCollectorTest {
+class PrometheusMetricsGaugeCollectorTest {
     
     @Test
-    public void assertCreate() throws ReflectiveOperationException {
+    void assertCreate() throws ReflectiveOperationException {
         PrometheusMetricsGaugeCollector collector = new PrometheusMetricsGaugeCollector(new MetricConfiguration("foo_gauge",
                 MetricCollectorType.GAUGE, "foo_help", Collections.emptyList(), Collections.emptyMap()));
         collector.inc();
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeMetricFamilyCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeMetricFamilyCollectorTest.java
index bc1fb526f7d..732b8267a44 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeMetricFamilyCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsGaugeMetricFamilyCollectorTest.java
@@ -28,10 +28,10 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusMetricsGaugeMetricFamilyCollectorTest {
+class PrometheusMetricsGaugeMetricFamilyCollectorTest {
     
     @Test
-    public void assertCreate() throws ReflectiveOperationException {
+    void assertCreate() throws ReflectiveOperationException {
         PrometheusMetricsGaugeMetricFamilyCollector collector = new PrometheusMetricsGaugeMetricFamilyCollector(new MetricConfiguration("foo_gauge_metric_family",
                 MetricCollectorType.GAUGE_METRIC_FAMILY, "foo_help", Collections.emptyList(), Collections.emptyMap()));
         collector.addMetric(Collections.emptyList(), 1d);
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
index b41e5f61fd4..a90e9eb0b6a 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusMetricsHistogramCollectorTest.java
@@ -28,10 +28,10 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusMetricsHistogramCollectorTest {
+class PrometheusMetricsHistogramCollectorTest {
     
     @Test
-    public void assertCreate() throws ReflectiveOperationException {
+    void assertCreate() throws ReflectiveOperationException {
         PrometheusMetricsHistogramCollector collector = new PrometheusMetricsHistogramCollector(new MetricConfiguration("foo_histogram",
                 MetricCollectorType.HISTOGRAM, "foo_help", Collections.emptyList(), Collections.emptyMap()));
         collector.observe(1);
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusSummaryWrapperTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusSummaryWrapperTest.java
index eba8e12319e..d69b78bca6d 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusSummaryWrapperTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/collector/type/PrometheusSummaryWrapperTest.java
@@ -28,10 +28,10 @@ import java.util.Collections;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PrometheusSummaryWrapperTest {
+class PrometheusSummaryWrapperTest {
     
     @Test
-    public void assertCreate() throws ReflectiveOperationException {
+    void assertCreate() throws ReflectiveOperationException {
         PrometheusMetricsSummaryCollector collector = new PrometheusMetricsSummaryCollector(new MetricConfiguration("foo_summary",
                 MetricCollectorType.SUMMARY, "foo_help", Collections.emptyList(), Collections.emptyMap()));
         collector.observe(1);
diff --git a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
index e800986d888..0e2c4d30f91 100644
--- a/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
+++ b/agent/plugins/metrics/type/prometheus/src/test/java/org/apache/shardingsphere/agent/plugin/metrics/prometheus/exoprter/PrometheusMetricsExporterTest.java
@@ -29,17 +29,17 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class PrometheusMetricsExporterTest {
+class PrometheusMetricsExporterTest {
     
     @Test
-    public void assertCollectWithAbsentMetricsExporter() {
+    void assertCollectWithAbsentMetricsExporter() {
         MetricsExporter exporter = mock(MetricsExporter.class);
         when(exporter.export("Prometheus")).thenReturn(Optional.empty());
         assertTrue(new PrometheusMetricsExporter(exporter).collect().isEmpty());
     }
     
     @Test
-    public void assertCollectWithPresentMetricsExporter() {
+    void assertCollectWithPresentMetricsExporter() {
         MetricsExporter exporter = mock(MetricsExporter.class);
         when(exporter.export("Prometheus")).thenReturn(Optional.of(mock(GaugeMetricFamilyMetricsCollector.class)));
         assertThat(new PrometheusMetricsExporter(exporter).collect().size(), is(1));
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
index b0f6fa7dba9..583ed1df157 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/OpenTelemetryTracingPluginLifecycleServiceTest.java
@@ -26,18 +26,18 @@ import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
-public final class OpenTelemetryTracingPluginLifecycleServiceTest {
+class OpenTelemetryTracingPluginLifecycleServiceTest {
     
     private final OpenTelemetryTracingPluginLifecycleService pluginLifecycleService = new OpenTelemetryTracingPluginLifecycleService();
     
     @AfterEach
-    public void close() {
+    void close() {
         pluginLifecycleService.close();
         GlobalOpenTelemetry.resetForTest();
     }
     
     @Test
-    public void assertStart() {
+    void assertStart() {
         pluginLifecycleService.start(new PluginConfiguration(null, 0, null,
                 PropertiesBuilder.build(new Property("otel.resource.attributes", "service.name=shardingsphere-agent"), new Property("otel.traces.exporter", "zipkin"))), true);
         assertNotNull(GlobalOpenTelemetry.getTracerProvider());
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
index 5d935cb5dfc..44132885e40 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
@@ -43,14 +43,14 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
 @Slf4j
-public final class OpenTelemetryJDBCExecutorCallbackAdviceTest extends AbstractJDBCExecutorCallbackAdviceTest {
+class OpenTelemetryJDBCExecutorCallbackAdviceTest extends AbstractJDBCExecutorCallbackAdviceTest {
     
     private final InMemorySpanExporter testExporter = InMemorySpanExporter.create();
     
     private Span parentSpan;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         SdkTracerProvider tracerProvider = SdkTracerProvider.builder().addSpanProcessor(SimpleSpanProcessor.create(testExporter)).build();
         OpenTelemetrySdk.builder().setTracerProvider(tracerProvider).buildAndRegisterGlobal().getTracer(OpenTelemetryConstants.TRACER_NAME);
         parentSpan = GlobalOpenTelemetry.getTracer(OpenTelemetryConstants.TRACER_NAME).spanBuilder("parent").startSpan();
@@ -58,14 +58,14 @@ public final class OpenTelemetryJDBCExecutorCallbackAdviceTest extends AbstractJ
     }
     
     @AfterEach
-    public void clean() {
+    void clean() {
         parentSpan.end();
         GlobalOpenTelemetry.resetForTest();
         testExporter.reset();
     }
     
     @Test
-    public void assertMethod() {
+    void assertMethod() {
         OpenTelemetryJDBCExecutorCallbackAdvice advice = new OpenTelemetryJDBCExecutorCallbackAdvice();
         advice.beforeMethod(getTargetObject(), null, new Object[]{getExecutionUnit(), false, getExtraMap()}, "OpenTelemetry");
         advice.afterMethod(getTargetObject(), null, new Object[]{getExecutionUnit(), false, getExtraMap()}, null, "OpenTelemetry");
@@ -81,7 +81,7 @@ public final class OpenTelemetryJDBCExecutorCallbackAdviceTest extends AbstractJ
     }
     
     @Test
-    public void assertExceptionHandle() {
+    void assertExceptionHandle() {
         OpenTelemetryJDBCExecutorCallbackAdvice advice = new OpenTelemetryJDBCExecutorCallbackAdvice();
         advice.beforeMethod(getTargetObject(), null, new Object[]{getExecutionUnit(), false, getExtraMap()}, "OpenTelemetry");
         advice.onThrowing(getTargetObject(), null, new Object[]{getExecutionUnit(), false, getExtraMap()}, new IOException(), "OpenTelemetry");
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
index 8040675fae0..ae355c06718 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryRootSpanAdviceTest.java
@@ -54,14 +54,14 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith({TracingAgentExtension.class, AutoMockExtension.class})
 @StaticMockSettings(ProxyContext.class)
-public final class OpenTelemetryRootSpanAdviceTest {
+class OpenTelemetryRootSpanAdviceTest {
     
     private final InMemorySpanExporter testExporter = InMemorySpanExporter.create();
     
     private TargetAdviceObject targetObject;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         SdkTracerProvider tracerProvider = SdkTracerProvider.builder().addSpanProcessor(SimpleSpanProcessor.create(testExporter)).build();
         OpenTelemetrySdk.builder().setTracerProvider(tracerProvider).buildAndRegisterGlobal().getTracer(OpenTelemetryConstants.TRACER_NAME);
         when(ProxyContext.getInstance().getContextManager()).thenReturn(mock(ContextManager.class, RETURNS_DEEP_STUBS));
@@ -71,13 +71,13 @@ public final class OpenTelemetryRootSpanAdviceTest {
     }
     
     @AfterEach
-    public void clean() {
+    void clean() {
         GlobalOpenTelemetry.resetForTest();
         testExporter.reset();
     }
     
     @Test
-    public void assertMethod() {
+    void assertMethod() {
         OpenTelemetryRootSpanAdvice advice = new OpenTelemetryRootSpanAdvice();
         advice.beforeMethod(targetObject, null, new Object[]{}, "OpenTelemetry");
         advice.afterMethod(targetObject, null, new Object[]{}, null, "OpenTelemetry");
@@ -90,7 +90,7 @@ public final class OpenTelemetryRootSpanAdviceTest {
     }
     
     @Test
-    public void assertExceptionHandle() {
+    void assertExceptionHandle() {
         OpenTelemetryRootSpanAdvice advice = new OpenTelemetryRootSpanAdvice();
         advice.beforeMethod(targetObject, null, new Object[]{}, "OpenTelemetry");
         advice.onThrowing(targetObject, null, new Object[]{}, new IOException(), "OpenTelemetry");
diff --git a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
index a69b811286c..92b3e601700 100644
--- a/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
+++ b/agent/plugins/tracing/type/opentelemetry/src/test/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetrySQLParserEngineAdviceTest.java
@@ -41,7 +41,7 @@ import java.util.List;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class OpenTelemetrySQLParserEngineAdviceTest extends AbstractSQLParserEngineAdviceTest {
+class OpenTelemetrySQLParserEngineAdviceTest extends AbstractSQLParserEngineAdviceTest {
     
     private static final String SQL_STATEMENT = "select 1";
     
@@ -50,7 +50,7 @@ public final class OpenTelemetrySQLParserEngineAdviceTest extends AbstractSQLPar
     private Span parentSpan;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         SdkTracerProvider tracerProvider = SdkTracerProvider.builder().addSpanProcessor(SimpleSpanProcessor.create(testExporter)).build();
         OpenTelemetrySdk.builder().setTracerProvider(tracerProvider).buildAndRegisterGlobal().getTracer(OpenTelemetryConstants.TRACER_NAME);
         parentSpan = GlobalOpenTelemetry.getTracer(OpenTelemetryConstants.TRACER_NAME).spanBuilder("parent").startSpan();
@@ -58,14 +58,14 @@ public final class OpenTelemetrySQLParserEngineAdviceTest extends AbstractSQLPar
     }
     
     @AfterEach
-    public void clean() {
+    void clean() {
         parentSpan.end();
         GlobalOpenTelemetry.resetForTest();
         testExporter.reset();
     }
     
     @Test
-    public void assertMethod() {
+    void assertMethod() {
         OpenTelemetrySQLParserEngineAdvice advice = new OpenTelemetrySQLParserEngineAdvice();
         advice.beforeMethod(getTargetObject(), null, new Object[]{SQL_STATEMENT, true}, "OpenTelemetry");
         advice.afterMethod(getTargetObject(), null, new Object[]{SQL_STATEMENT, true}, null, "OpenTelemetry");
@@ -79,7 +79,7 @@ public final class OpenTelemetrySQLParserEngineAdviceTest extends AbstractSQLPar
     }
     
     @Test
-    public void assertExceptionHandle() {
+    void assertExceptionHandle() {
         OpenTelemetrySQLParserEngineAdvice advice = new OpenTelemetrySQLParserEngineAdvice();
         advice.beforeMethod(getTargetObject(), null, new Object[]{SQL_STATEMENT, true}, "OpenTelemetry");
         advice.onThrowing(getTargetObject(), null, new Object[]{SQL_STATEMENT, true}, new IOException(), "OpenTelemetry");
diff --git a/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/codec/PacketCodecTest.java b/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/codec/PacketCodecTest.java
index a28548fd6e0..d2e0808f3d0 100644
--- a/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/codec/PacketCodecTest.java
+++ b/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/codec/PacketCodecTest.java
@@ -34,7 +34,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PacketCodecTest {
+class PacketCodecTest {
     
     @Mock
     private DatabasePacketCodecEngine databasePacketCodecEngine;
@@ -48,12 +48,12 @@ public final class PacketCodecTest {
     private PacketCodec packetCodec;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         packetCodec = new PacketCodec(databasePacketCodecEngine);
     }
     
     @Test
-    public void assertDecodeWithValidHeader() {
+    void assertDecodeWithValidHeader() {
         when(byteBuf.readableBytes()).thenReturn(1);
         when(databasePacketCodecEngine.isValidHeader(1)).thenReturn(true);
         packetCodec.decode(context, byteBuf, Collections.emptyList());
@@ -61,7 +61,7 @@ public final class PacketCodecTest {
     }
     
     @Test
-    public void assertDecodeWithInvalidHeader() {
+    void assertDecodeWithInvalidHeader() {
         when(byteBuf.readableBytes()).thenReturn(1);
         when(databasePacketCodecEngine.isValidHeader(1)).thenReturn(false);
         packetCodec.decode(context, byteBuf, Collections.emptyList());
@@ -70,7 +70,7 @@ public final class PacketCodecTest {
     
     @SuppressWarnings("unchecked")
     @Test
-    public void assertEncode() {
+    void assertEncode() {
         DatabasePacket databasePacket = mock(DatabasePacket.class);
         packetCodec.encode(context, databasePacket, byteBuf);
         verify(databasePacketCodecEngine).encode(context, databasePacket, byteBuf);
diff --git a/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/netty/ChannelAttrInitializerTest.java b/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/netty/ChannelAttrInitializerTest.java
index 004b2af276a..becaa52802e 100644
--- a/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/netty/ChannelAttrInitializerTest.java
+++ b/db-protocol/core/src/test/java/org/apache/shardingsphere/db/protocol/netty/ChannelAttrInitializerTest.java
@@ -28,10 +28,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 
-public final class ChannelAttrInitializerTest {
+class ChannelAttrInitializerTest {
     
     @Test
-    public void assertChannelActive() {
+    void assertChannelActive() {
         ChannelHandlerContext context = mock(ChannelHandlerContext.class, RETURNS_DEEP_STUBS);
         new ChannelAttrInitializer().channelActive(context);
         verify(context.channel().attr(CommonConstants.CHARSET_ATTRIBUTE_KEY)).setIfAbsent(any(Charset.class));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/codec/MySQLPacketCodecEngineTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
index 2c2199c039d..fa657cb9204 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/codec/MySQLPacketCodecEngineTest.java
@@ -56,7 +56,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class MySQLPacketCodecEngineTest {
+class MySQLPacketCodecEngineTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ChannelHandlerContext context;
@@ -65,23 +65,23 @@ public final class MySQLPacketCodecEngineTest {
     private ByteBuf byteBuf;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         when(context.channel().attr(AttributeKey.<Charset>valueOf(Charset.class.getName())).get()).thenReturn(StandardCharsets.UTF_8);
         when(context.channel().attr(MySQLConstants.MYSQL_SEQUENCE_ID).get()).thenReturn(new AtomicInteger());
     }
     
     @Test
-    public void assertIsValidHeader() {
+    void assertIsValidHeader() {
         assertTrue(new MySQLPacketCodecEngine().isValidHeader(50));
     }
     
     @Test
-    public void assertIsInvalidHeader() {
+    void assertIsInvalidHeader() {
         assertFalse(new MySQLPacketCodecEngine().isValidHeader(3));
     }
     
     @Test
-    public void assertDecode() {
+    void assertDecode() {
         when(byteBuf.markReaderIndex()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(50);
         when(byteBuf.readableBytes()).thenReturn(51);
@@ -91,7 +91,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertDecodeWithEmptyPacket() {
+    void assertDecodeWithEmptyPacket() {
         when(byteBuf.markReaderIndex()).thenReturn(byteBuf);
         when(byteBuf.readableBytes()).thenReturn(1);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(0);
@@ -101,7 +101,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertDecodeWithStickyPacket() {
+    void assertDecodeWithStickyPacket() {
         when(byteBuf.markReaderIndex()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(50);
         List<Object> out = new LinkedList<>();
@@ -110,7 +110,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertDecodePacketMoreThan16MB() {
+    void assertDecodePacketMoreThan16MB() {
         MySQLPacketCodecEngine engine = new MySQLPacketCodecEngine();
         when(context.alloc().compositeBuffer(2)).thenReturn(new CompositeByteBuf(UnpooledByteBufAllocator.DEFAULT, false, 2));
         List<Object> actual = new ArrayList<>(1);
@@ -130,7 +130,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertEncode() {
+    void assertEncode() {
         when(byteBuf.writeInt(anyInt())).thenReturn(byteBuf);
         when(byteBuf.markWriterIndex()).thenReturn(byteBuf);
         when(byteBuf.readableBytes()).thenReturn(8);
@@ -145,7 +145,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertEncodePacketMoreThan16MB() {
+    void assertEncodePacketMoreThan16MB() {
         CompositeByteBuf expected = new CompositeByteBuf(UnpooledByteBufAllocator.DEFAULT, false, 6);
         when(context.alloc().compositeBuffer(6)).thenReturn(expected);
         when(context.alloc().ioBuffer(4, 4)).thenReturn(Unpooled.buffer(4, 4), Unpooled.buffer(4, 4), Unpooled.buffer(4, 4));
@@ -168,7 +168,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertEncodeOccursException() {
+    void assertEncodeOccursException() {
         when(byteBuf.writeInt(anyInt())).thenReturn(byteBuf);
         when(byteBuf.markWriterIndex()).thenReturn(byteBuf);
         when(byteBuf.readableBytes()).thenReturn(12);
@@ -185,7 +185,7 @@ public final class MySQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertCreatePacketPayload() {
+    void assertCreatePacketPayload() {
         assertThat(new MySQLPacketCodecEngine().createPacketPayload(byteBuf, StandardCharsets.UTF_8).getByteBuf(), is(byteBuf));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
index face446e139..197c36e7e0f 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinaryColumnTypeTest.java
@@ -25,10 +25,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLBinaryColumnTypeTest {
+class MySQLBinaryColumnTypeTest {
     
     @Test
-    public void assertValueOfJDBC() {
+    void assertValueOfJDBC() {
         assertThat(MySQLBinaryColumnType.valueOfJDBCType(Types.BIT), is(MySQLBinaryColumnType.MYSQL_TYPE_BIT));
         assertThat(MySQLBinaryColumnType.valueOfJDBCType(Types.TINYINT), is(MySQLBinaryColumnType.MYSQL_TYPE_TINY));
         assertThat(MySQLBinaryColumnType.valueOfJDBCType(Types.SMALLINT), is(MySQLBinaryColumnType.MYSQL_TYPE_SHORT));
@@ -53,17 +53,17 @@ public final class MySQLBinaryColumnTypeTest {
     }
     
     @Test
-    public void assertValueOfJDBCIllegalArgument() {
+    void assertValueOfJDBCIllegalArgument() {
         assertThrows(IllegalArgumentException.class, () -> MySQLBinaryColumnType.valueOfJDBCType(9999));
     }
     
     @Test
-    public void assertValueOf() {
+    void assertValueOf() {
         assertThat(MySQLBinaryColumnType.valueOf(MySQLBinaryColumnType.MYSQL_TYPE_DECIMAL.getValue()), is(MySQLBinaryColumnType.MYSQL_TYPE_DECIMAL));
     }
     
     @Test
-    public void assertValueOfWithIllegalArgument() {
+    void assertValueOfWithIllegalArgument() {
         assertThrows(IllegalArgumentException.class, () -> MySQLBinaryColumnType.valueOf(-1));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventFlagTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
index e60e30cac39..3de0d5d05eb 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventFlagTest.java
@@ -17,15 +17,15 @@
 
 package org.apache.shardingsphere.db.protocol.mysql.constant;
 
+import org.junit.jupiter.api.Test;
+
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-import org.junit.jupiter.api.Test;
-
-public final class MySQLBinlogEventFlagTest {
+class MySQLBinlogEventFlagTest {
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(MySQLBinlogEventFlag.LOG_EVENT_MTS_ISOLATE_F.getValue(), is(0x0200));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventTypeTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
index 67fee3bb903..93302907b7a 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLBinlogEventTypeTest.java
@@ -26,15 +26,15 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class MySQLBinlogEventTypeTest {
+class MySQLBinlogEventTypeTest {
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(MySQLBinlogEventType.WRITE_ROWS_EVENTv2.getValue(), is(0x1e));
     }
     
     @Test
-    public void assertValueOfValidType() {
+    void assertValueOfValidType() {
         for (MySQLBinlogEventType each : MySQLBinlogEventType.values()) {
             Optional<MySQLBinlogEventType> eventType = MySQLBinlogEventType.valueOf(each.getValue());
             assertTrue(eventType.isPresent());
@@ -43,7 +43,7 @@ public final class MySQLBinlogEventTypeTest {
     }
     
     @Test
-    public void assertValueOfInvalidType() {
+    void assertValueOfInvalidType() {
         assertFalse(MySQLBinlogEventType.valueOf(-1).isPresent());
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCapabilityFlagTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCapabilityFlagTest.java
index f9e603d7569..e89c0e9ae44 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCapabilityFlagTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCapabilityFlagTest.java
@@ -22,20 +22,20 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLCapabilityFlagTest {
+class MySQLCapabilityFlagTest {
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(MySQLCapabilityFlag.CLIENT_LONG_PASSWORD.getValue(), is(0x00000001));
     }
     
     @Test
-    public void assertCalculateHandshakeCapabilityFlagsLower() {
+    void assertCalculateHandshakeCapabilityFlagsLower() {
         assertThat(MySQLCapabilityFlag.calculateHandshakeCapabilityFlagsLower(), is(46927));
     }
     
     @Test
-    public void assertCalculateHandshakeCapabilityFlagsUpper() {
+    void assertCalculateHandshakeCapabilityFlagsUpper() {
         assertThat(MySQLCapabilityFlag.calculateHandshakeCapabilityFlagsUpper(), is(0x0008));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCharacterSetTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCharacterSetTest.java
index 863c2c577d2..d76e79f490e 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCharacterSetTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLCharacterSetTest.java
@@ -24,21 +24,21 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLCharacterSetTest {
+class MySQLCharacterSetTest {
     
     @Test
-    public void assertFoundCharacterSetById() {
+    void assertFoundCharacterSetById() {
         MySQLCharacterSet actual = MySQLCharacterSet.findById(45);
         assertThat(actual, is(MySQLCharacterSet.UTF8MB4_GENERAL_CI));
     }
     
     @Test
-    public void assertCharacterSetNotFoundById() {
+    void assertCharacterSetNotFoundById() {
         assertThrows(UnknownCollationException.class, () -> MySQLCharacterSet.findById(-1));
     }
     
     @Test
-    public void assertFoundUnsupportedCharacterSetById() {
+    void assertFoundUnsupportedCharacterSetById() {
         assertThrows(UnknownCollationException.class, () -> MySQLCharacterSet.findById(63));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
index f0383a03f9d..73fbf9b06d2 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLNewParametersBoundFlagTest.java
@@ -24,15 +24,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLNewParametersBoundFlagTest {
+class MySQLNewParametersBoundFlagTest {
     
     @Test
-    public void assertValueOf() {
+    void assertValueOf() {
         assertThat(MySQLNewParametersBoundFlag.valueOf(MySQLNewParametersBoundFlag.PARAMETER_TYPE_EXIST.getValue()), is(MySQLNewParametersBoundFlag.PARAMETER_TYPE_EXIST));
     }
     
     @Test
-    public void assertValueOfWithIllegalArgument() {
+    void assertValueOfWithIllegalArgument() {
         assertThrows(MySQLProtocolException.class, () -> MySQLNewParametersBoundFlag.valueOf(-1));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfoTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfoTest.java
index fd55ec3465a..cb1b1336fb3 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfoTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLServerInfoTest.java
@@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLServerInfoTest {
+class MySQLServerInfoTest {
     
     @Test
-    public void assertSetServerVersion() {
+    void assertSetServerVersion() {
         String schemaName = "test";
         CommonConstants.PROXY_VERSION.set("5.0.0");
         MySQLServerInfo.setServerVersion(schemaName, "5.1.47");
@@ -34,7 +34,7 @@ public final class MySQLServerInfoTest {
     }
     
     @Test
-    public void assertSetServerVersionForNull() {
+    void assertSetServerVersionForNull() {
         CommonConstants.PROXY_VERSION.set("5.0.0");
         assertThat(MySQLServerInfo.getDefaultServerVersion(), is("5.7.22-ShardingSphere-Proxy 5.0.0"));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLStatusFlagTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLStatusFlagTest.java
index a30fd09cba6..e4db717c929 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLStatusFlagTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/constant/MySQLStatusFlagTest.java
@@ -24,20 +24,20 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLStatusFlagTest {
+class MySQLStatusFlagTest {
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(MySQLStatusFlag.SERVER_STATUS_IN_TRANS.getValue(), is(0x0001));
     }
     
     @Test
-    public void assertValueOfByInteger() {
+    void assertValueOfByInteger() {
         assertThat(MySQLStatusFlag.valueOf(0x0001), is(MySQLStatusFlag.SERVER_STATUS_IN_TRANS));
     }
     
     @Test
-    public void assertValueOfByIntegerFailure() {
+    void assertValueOfByIntegerFailure() {
         assertThrows(UnknownSQLException.class, () -> MySQLStatusFlag.valueOf(0x0011));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
index 7a555ff1808..93a77a19932 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/MySQLBinlogEventHeaderTest.java
@@ -31,13 +31,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinlogEventHeaderTest {
+class MySQLBinlogEventHeaderTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt4()).thenReturn(1234567890, 123456, 19, 4);
         when(payload.readInt1()).thenReturn(MySQLBinlogEventType.UNKNOWN_EVENT.getValue());
         when(payload.readInt2()).thenReturn(MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue());
@@ -51,7 +51,7 @@ public final class MySQLBinlogEventHeaderTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLBinlogEventHeader(1234567890, MySQLBinlogEventType.UNKNOWN_EVENT.getValue(), 123456, 19, 4, MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue(), 4).write(payload);
         verify(payload).writeInt4(1234567890);
         verify(payload).writeInt1(MySQLBinlogEventType.UNKNOWN_EVENT.getValue());
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
index 90d46cdd5fc..7aabe4b3bca 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogFormatDescriptionEventPacketTest.java
@@ -29,7 +29,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinlogFormatDescriptionEventPacketTest {
+class MySQLBinlogFormatDescriptionEventPacketTest {
     
     private static final String MYSQL_SERVER_VERSION = "5.7.14-log" + new String(new byte[40]);
     
@@ -40,7 +40,7 @@ public final class MySQLBinlogFormatDescriptionEventPacketTest {
     private MySQLBinlogEventHeader binlogEventHeader;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt2()).thenReturn(4);
         when(payload.readStringFixByBytes(50)).thenReturn(MYSQL_SERVER_VERSION.getBytes());
         when(payload.readInt4()).thenReturn(1234567890);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
index 44c4414ff67..a3db2f71583 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/management/MySQLBinlogRotateEventPacketTest.java
@@ -32,7 +32,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinlogRotateEventPacketTest {
+class MySQLBinlogRotateEventPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -41,7 +41,7 @@ public final class MySQLBinlogRotateEventPacketTest {
     private MySQLBinlogEventHeader binlogEventHeader;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt8()).thenReturn(4L);
         when(payload.readStringFix(anyInt())).thenReturn("binlog-000001");
         when(payload.getByteBuf()).thenReturn(Unpooled.buffer());
@@ -52,7 +52,7 @@ public final class MySQLBinlogRotateEventPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLBinlogRotateEventPacket(binlogEventHeader, 4L, "binlog-000001").write(payload);
         verify(binlogEventHeader).write(payload);
         verify(payload).writeInt8(4L);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
index e9bffcbcbbe..3d4950f0772 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogRowsEventPacketTest.java
@@ -44,7 +44,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinlogRowsEventPacketTest {
+class MySQLBinlogRowsEventPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -58,7 +58,7 @@ public final class MySQLBinlogRowsEventPacketTest {
     private List<MySQLBinlogColumnDef> columnDefs;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         mockColumnDefs();
         when(payload.readInt6()).thenReturn(1L);
         when(payload.readInt2()).thenReturn(2);
@@ -71,7 +71,7 @@ public final class MySQLBinlogRowsEventPacketTest {
     }
     
     @Test
-    public void assertReadWriteRowV1WithoutNullValue() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {
+    void assertReadWriteRowV1WithoutNullValue() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {
         MySQLBinlogRowsEventPacket actual = new MySQLBinlogRowsEventPacket(binlogEventHeader, payload);
         assertBinlogRowsEventV1BeforeRows(actual);
         assertFalse(actual.getColumnsPresentBitmap().isNullParameter(0));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
index 3f82561e357..f7acd41c1b1 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacketTest.java
@@ -39,7 +39,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinlogTableMapEventPacketTest {
+class MySQLBinlogTableMapEventPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -51,7 +51,7 @@ public final class MySQLBinlogTableMapEventPacketTest {
     private MySQLBinlogEventHeader binlogEventHeader;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt6()).thenReturn(1L);
         when(payload.readInt2()).thenReturn(0, 255);
         when(payload.readInt1()).thenReturn(4, 4, MySQLBinaryColumnType.MYSQL_TYPE_LONGLONG.getValue(), MySQLBinaryColumnType.MYSQL_TYPE_VARCHAR.getValue(),
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactoryTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactoryTest.java
index b2a3671a9f9..d194e82ad8f 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactoryTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactoryTest.java
@@ -25,15 +25,15 @@ import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLBinlogProtocolValueFactoryTest {
+class MySQLBinlogProtocolValueFactoryTest {
     
     @Test
-    public void assertGetBinlogProtocolValue() {
+    void assertGetBinlogProtocolValue() {
         assertThat(MySQLBinlogProtocolValueFactory.getBinlogProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_TINY), instanceOf(MySQLTinyBinlogProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinlogProtocolValueFailure() {
+    void assertGetBinlogProtocolValueFailure() {
         assertThrows(IllegalArgumentException.class, () -> MySQLBinlogProtocolValueFactory.getBinlogProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_GEOMETRY));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
index 5ae9e1d6af3..2f47d816df9 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
@@ -34,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBlobBinlogProtocolValueTest {
+class MySQLBlobBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -45,12 +45,12 @@ public final class MySQLBlobBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_STRING);
     }
     
     @Test
-    public void assertReadWithMeta1() {
+    void assertReadWithMeta1() {
         columnDef.setColumnMeta(1);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0xff);
@@ -59,7 +59,7 @@ public final class MySQLBlobBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithMeta2() {
+    void assertReadWithMeta2() {
         columnDef.setColumnMeta(2);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedShortLE()).thenReturn(0xffff);
@@ -68,7 +68,7 @@ public final class MySQLBlobBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithMeta3() {
+    void assertReadWithMeta3() {
         columnDef.setColumnMeta(3);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(0xffffff);
@@ -77,7 +77,7 @@ public final class MySQLBlobBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithMeta4() {
+    void assertReadWithMeta4() {
         columnDef.setColumnMeta(4);
         when(payload.readInt4()).thenReturn(Integer.MAX_VALUE);
         when(payload.readStringFixByBytes(Integer.MAX_VALUE)).thenReturn(new byte[255]);
@@ -85,7 +85,7 @@ public final class MySQLBlobBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithUnknownMetaValue() {
+    void assertReadWithUnknownMetaValue() {
         columnDef.setColumnMeta(5);
         assertThrows(UnsupportedSQLOperationException.class, () -> new MySQLBlobBinlogProtocolValue().read(columnDef, payload));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
index 6cb7109f91b..40b9f3b6ca8 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDecimalBinlogProtocolValueTest.java
@@ -34,7 +34,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDecimalBinlogProtocolValueTest {
+class MySQLDecimalBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,13 +42,13 @@ public final class MySQLDecimalBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_NEWDECIMAL);
         columnDef.setColumnMeta((14 << 8) + 4);
     }
     
     @Test
-    public void assertDecodePositiveNewDecimal() {
+    void assertDecodePositiveNewDecimal() {
         byte[] newDecimalBytes = ByteBufUtil.decodeHexDump("810DFB38D204D2");
         when(payload.readStringFixByBytes(newDecimalBytes.length)).thenReturn(newDecimalBytes);
         BigDecimal actual = (BigDecimal) new MySQLDecimalBinlogProtocolValue().read(columnDef, payload);
@@ -56,7 +56,7 @@ public final class MySQLDecimalBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertDecodeNegativeNewDecimal() {
+    void assertDecodeNegativeNewDecimal() {
         byte[] newDecimalBytes = ByteBufUtil.decodeHexDump("7EF204C72DFB2D");
         when(payload.readStringFixByBytes(newDecimalBytes.length)).thenReturn(newDecimalBytes);
         BigDecimal actual = (BigDecimal) new MySQLDecimalBinlogProtocolValue().read(columnDef, payload);
@@ -64,7 +64,7 @@ public final class MySQLDecimalBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertDecodeNegativeNewDecimalWithLargeNumber() {
+    void assertDecodeNegativeNewDecimalWithLargeNumber() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_NEWDECIMAL);
         columnDef.setColumnMeta(32 << 8 | 6);
         byte[] newDecimalBytes = ByteBufUtil.decodeHexDump("7DFEFDB5CC2741EFDEBE4154FD52E7");
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
index 619873cf7bb..19c24ca60e9 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLDoubleBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDoubleBinlogProtocolValueTest {
+class MySQLDoubleBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,7 +42,7 @@ public final class MySQLDoubleBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readDoubleLE()).thenReturn(1.1d);
         MySQLDoubleBinlogProtocolValue actual = new MySQLDoubleBinlogProtocolValue();
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
index 28ca6a974b3..b79332d9ade 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/decimal/MySQLFloatBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLFloatBinlogProtocolValueTest {
+class MySQLFloatBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,7 +42,7 @@ public final class MySQLFloatBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readFloatLE()).thenReturn(1.1f);
         MySQLFloatBinlogProtocolValue actual = new MySQLFloatBinlogProtocolValue();
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
index a80f3ddb13d..f0d03380970 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBitBinlogProtocolValueTest {
+class MySQLBitBinlogProtocolValueTest {
     
     @Mock
     private MySQLBinlogColumnDef columnDef;
@@ -41,33 +41,33 @@ public final class MySQLBitBinlogProtocolValueTest {
     private MySQLBitBinlogProtocolValue actual;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         actual = new MySQLBitBinlogProtocolValue();
     }
     
     @Test
-    public void assertReadWithLength1() {
+    void assertReadWithLength1() {
         when(columnDef.getColumnMeta()).thenReturn(1);
         when(payload.readLong(1)).thenReturn(1L);
         assertThat(actual.read(columnDef, payload), is(1L));
     }
     
     @Test
-    public void assertReadWithLength3() {
+    void assertReadWithLength3() {
         when(columnDef.getColumnMeta()).thenReturn(516);
         when(payload.readLong(3)).thenReturn(1L);
         assertThat(actual.read(columnDef, payload), is(1L));
     }
     
     @Test
-    public void assertReadWithLength5() {
+    void assertReadWithLength5() {
         when(columnDef.getColumnMeta()).thenReturn(1280);
         when(payload.readLong(5)).thenReturn(1L);
         assertThat(actual.read(columnDef, payload), is(1L));
     }
     
     @Test
-    public void assertReadWithLength8() {
+    void assertReadWithLength8() {
         when(columnDef.getColumnMeta()).thenReturn(2048);
         when(payload.readLong(8)).thenReturn(-1L);
         assertThat(actual.read(columnDef, payload), is(-1L));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
index 4ee74329c85..a661c7ff54c 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLInt24BinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLInt24BinlogProtocolValueTest {
+class MySQLInt24BinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,7 +42,7 @@ public final class MySQLInt24BinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readMediumLE()).thenReturn(1);
         MySQLInt24BinlogProtocolValue actual = new MySQLInt24BinlogProtocolValue();
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
index a80f7d7ee09..65931f51329 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongBinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLLongBinlogProtocolValueTest {
+class MySQLLongBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -38,7 +38,7 @@ public final class MySQLLongBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readInt4()).thenReturn(1);
         MySQLLongBinlogProtocolValue actual = new MySQLLongBinlogProtocolValue();
         assertThat(actual.read(columnDef, payload), is(1));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
index 0da845d8574..dc29d4ed732 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLLongLongBinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLLongLongBinlogProtocolValueTest {
+class MySQLLongLongBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -38,7 +38,7 @@ public final class MySQLLongLongBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readInt8()).thenReturn(1L);
         MySQLLongLongBinlogProtocolValue actual = new MySQLLongLongBinlogProtocolValue();
         assertThat(actual.read(columnDef, payload), is(1L));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
index 8d7ff49352d..750bb810d33 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLShortBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLShortBinlogProtocolValueTest {
+class MySQLShortBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,7 +42,7 @@ public final class MySQLShortBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readShortLE()).thenReturn((short) 1);
         MySQLShortBinlogProtocolValue actual = new MySQLShortBinlogProtocolValue();
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
index e89369a5725..9a091aaf640 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLTinyBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTinyBinlogProtocolValueTest {
+class MySQLTinyBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,7 +42,7 @@ public final class MySQLTinyBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readByte()).thenReturn((byte) 1);
         MySQLTinyBinlogProtocolValue actual = new MySQLTinyBinlogProtocolValue();
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
index 3bf949efa41..1abff4d4399 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonBinlogProtocolValueTest.java
@@ -38,7 +38,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class MySQLJsonBinlogProtocolValueTest {
+class MySQLJsonBinlogProtocolValueTest {
     
     private static final String KEY = "key";
     
@@ -56,7 +56,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MySQL_TYPE_JSON);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         mockJsonValue();
@@ -74,7 +74,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadJsonValueWithMeta1() {
+    void assertReadJsonValueWithMeta1() {
         columnDef.setColumnMeta(1);
         when(byteBuf.readUnsignedByte()).thenReturn((short) 1);
         when(byteBuf.readBytes(1)).thenReturn(jsonValueByteBuf);
@@ -82,7 +82,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadJsonValueWithMeta2() {
+    void assertReadJsonValueWithMeta2() {
         columnDef.setColumnMeta(2);
         when(byteBuf.readUnsignedShortLE()).thenReturn(2);
         when(byteBuf.readBytes(2)).thenReturn(jsonValueByteBuf);
@@ -90,7 +90,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadJsonValueWithMeta3() {
+    void assertReadJsonValueWithMeta3() {
         columnDef.setColumnMeta(3);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(3);
         when(byteBuf.readBytes(3)).thenReturn(jsonValueByteBuf);
@@ -98,7 +98,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadJsonValueWithMeta4() {
+    void assertReadJsonValueWithMeta4() {
         columnDef.setColumnMeta(4);
         when(payload.readInt4()).thenReturn(4);
         when(byteBuf.readBytes(4)).thenReturn(jsonValueByteBuf);
@@ -106,7 +106,7 @@ public final class MySQLJsonBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadJsonValueWithIllegalMeta() {
+    void assertReadJsonValueWithIllegalMeta() {
         columnDef.setColumnMeta(5);
         assertThrows(UnsupportedSQLOperationException.class, () -> new MySQLJsonBinlogProtocolValue().read(columnDef, payload));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
index 577dde17a5c..be648a1e869 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
@@ -32,7 +32,7 @@ import java.util.List;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLJsonValueDecoderTest {
+class MySQLJsonValueDecoderTest {
     
     private static final int SMALL_JSON_INT_LENGTH = 2;
     
@@ -47,7 +47,7 @@ public final class MySQLJsonValueDecoderTest {
     private static final int LARGE_JSON_VALUE_META_DATA_LENGTH = LARGE_JSON_INT_LENGTH + 1;
     
     @Test
-    public void assertDecodeSmallJsonObjectWithLiteral() {
+    void assertDecodeSmallJsonObjectWithLiteral() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.LITERAL, "key1", JsonValueTypes.LITERAL_NULL));
         jsonEntries.add(new JsonEntry(JsonValueTypes.LITERAL, "key2", JsonValueTypes.LITERAL_TRUE));
@@ -58,7 +58,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithLiteral() {
+    void assertDecodeLargeJsonObjectWithLiteral() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.LITERAL, "key1", JsonValueTypes.LITERAL_NULL));
         jsonEntries.add(new JsonEntry(JsonValueTypes.LITERAL, "key2", JsonValueTypes.LITERAL_TRUE));
@@ -69,7 +69,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithInt16() {
+    void assertDecodeSmallJsonObjectWithInt16() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, "key1", 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, "key2", 0x00008000));
@@ -79,7 +79,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithInt16() {
+    void assertDecodeLargeJsonObjectWithInt16() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, "key1", 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, "key2", 0x00008000));
@@ -89,7 +89,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithUInt16() {
+    void assertDecodeSmallJsonObjectWithUInt16() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT16, "key1", 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT16, "key2", 0x00008000));
@@ -99,7 +99,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithUInt16() {
+    void assertDecodeLargeJsonObjectWithUInt16() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT16, "key1", 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT16, "key2", 0x00008000));
@@ -109,7 +109,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithInt32() {
+    void assertDecodeSmallJsonObjectWithInt32() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT32, "key1", Integer.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT32, "key2", Integer.MIN_VALUE));
@@ -119,7 +119,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithInt32() {
+    void assertDecodeLargeJsonObjectWithInt32() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT32, "key1", Integer.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT32, "key2", Integer.MIN_VALUE));
@@ -129,7 +129,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithUInt32() {
+    void assertDecodeSmallJsonObjectWithUInt32() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT32, "key1", Integer.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT32, "key2", Integer.MIN_VALUE));
@@ -139,7 +139,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithUInt32() {
+    void assertDecodeLargeJsonObjectWithUInt32() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT32, "key1", Integer.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT32, "key2", Integer.MIN_VALUE));
@@ -149,7 +149,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithInt64() {
+    void assertDecodeSmallJsonObjectWithInt64() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT64, "key1", Long.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT64, "key2", Long.MIN_VALUE));
@@ -159,7 +159,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithUInt64() {
+    void assertDecodeSmallJsonObjectWithUInt64() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT64, "key1", Long.MAX_VALUE));
         jsonEntries.add(new JsonEntry(JsonValueTypes.UINT64, "key2", Long.MIN_VALUE));
@@ -169,7 +169,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithDouble() {
+    void assertDecodeSmallJsonObjectWithDouble() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.DOUBLE, "key1", Double.MAX_VALUE));
         ByteBuf payload = mockJsonObjectByteBuf(jsonEntries, true);
@@ -178,7 +178,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithString() {
+    void assertDecodeSmallJsonObjectWithString() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         String value1 = "";
         String value2 = Strings.repeat("1", (int) (Math.pow(2, 7) - 1));
@@ -194,7 +194,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithSubJson() {
+    void assertDecodeSmallJsonObjectWithSubJson() {
         List<JsonEntry> subJsons = Collections.singletonList(new JsonEntry(JsonValueTypes.INT32, "key1", 111));
         ByteBuf payload = mockJsonObjectByteBuf(Collections.singletonList(new JsonEntry(JsonValueTypes.SMALL_JSON_OBJECT, "subJson", subJsons)), true);
         String actual = (String) MySQLJsonValueDecoder.decode(payload);
@@ -202,7 +202,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonObjectWithSubJson() {
+    void assertDecodeLargeJsonObjectWithSubJson() {
         List<JsonEntry> subJsons = Collections.singletonList(new JsonEntry(JsonValueTypes.INT32, "key1", 111));
         ByteBuf payload = mockJsonObjectByteBuf(Collections.singletonList(new JsonEntry(JsonValueTypes.SMALL_JSON_OBJECT, "subJson", subJsons)), false);
         String actual = (String) MySQLJsonValueDecoder.decode(payload);
@@ -210,7 +210,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonObjectWithSubArray() {
+    void assertDecodeSmallJsonObjectWithSubArray() {
         List<JsonEntry> subArrays = Collections.singletonList(new JsonEntry(JsonValueTypes.INT32, null, 111));
         ByteBuf payload = mockJsonObjectByteBuf(Collections.singletonList(new JsonEntry(JsonValueTypes.SMALL_JSON_ARRAY, "subJson", subArrays)), true);
         String actual = (String) MySQLJsonValueDecoder.decode(payload);
@@ -218,7 +218,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeSmallJsonArray() {
+    void assertDecodeSmallJsonArray() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, null, 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, null, 0x00008000));
@@ -228,7 +228,7 @@ public final class MySQLJsonValueDecoderTest {
     }
     
     @Test
-    public void assertDecodeLargeJsonArray() {
+    void assertDecodeLargeJsonArray() {
         List<JsonEntry> jsonEntries = new LinkedList<>();
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, null, 0x00007fff));
         jsonEntries.add(new JsonEntry(JsonValueTypes.INT16, null, 0x00008000));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
index fd8d289deaa..9b9f8c8df80 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLStringBinlogProtocolValueTest.java
@@ -37,7 +37,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLStringBinlogProtocolValueTest {
+class MySQLStringBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -48,32 +48,32 @@ public final class MySQLStringBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_STRING);
     }
     
     @Test
-    public void assertReadEnumValueWithMeta1() {
+    void assertReadEnumValueWithMeta1() {
         columnDef.setColumnMeta((MySQLBinaryColumnType.MYSQL_TYPE_ENUM.getValue() << 8) + 1);
         when(payload.readInt1()).thenReturn(1);
         assertThat(new MySQLStringBinlogProtocolValue().read(columnDef, payload), is(1));
     }
     
     @Test
-    public void assertReadEnumValueWithMeta2() {
+    void assertReadEnumValueWithMeta2() {
         columnDef.setColumnMeta((MySQLBinaryColumnType.MYSQL_TYPE_ENUM.getValue() << 8) + 2);
         when(payload.readInt2()).thenReturn(32767);
         assertThat(new MySQLStringBinlogProtocolValue().read(columnDef, payload), is(32767));
     }
     
     @Test
-    public void assertReadEnumValueWithMetaFailure() {
+    void assertReadEnumValueWithMetaFailure() {
         columnDef.setColumnMeta((MySQLBinaryColumnType.MYSQL_TYPE_ENUM.getValue() << 8) + 3);
         assertThrows(UnsupportedSQLOperationException.class, () -> new MySQLStringBinlogProtocolValue().read(columnDef, payload));
     }
     
     @Test
-    public void assertReadSetValue() {
+    void assertReadSetValue() {
         columnDef.setColumnMeta(MySQLBinaryColumnType.MYSQL_TYPE_SET.getValue() << 8);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readByte()).thenReturn((byte) 0xff);
@@ -81,7 +81,7 @@ public final class MySQLStringBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadStringValue() {
+    void assertReadStringValue() {
         String expected = "test_value";
         columnDef.setColumnMeta(MySQLBinaryColumnType.MYSQL_TYPE_STRING.getValue() << 8);
         when(payload.getByteBuf()).thenReturn(byteBuf);
@@ -93,7 +93,7 @@ public final class MySQLStringBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadLongStringValue() {
+    void assertReadLongStringValue() {
         String expected = "test_value";
         columnDef.setColumnMeta((MySQLBinaryColumnType.MYSQL_TYPE_STRING.getValue() ^ ((256 & 0x300) >> 4)) << 8);
         when(payload.getByteBuf()).thenReturn(byteBuf);
@@ -105,7 +105,7 @@ public final class MySQLStringBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadValueWithUnknownType() {
+    void assertReadValueWithUnknownType() {
         columnDef.setColumnMeta(MySQLBinaryColumnType.MYSQL_TYPE_VAR_STRING.getValue() << 8);
         assertThrows(UnsupportedSQLOperationException.class, () -> new MySQLStringBinlogProtocolValue().read(columnDef, payload));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
index e73dc681799..e9388fa1588 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/string/MySQLVarcharBinlogProtocolValueTest.java
@@ -35,7 +35,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLVarcharBinlogProtocolValueTest {
+class MySQLVarcharBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -46,12 +46,12 @@ public final class MySQLVarcharBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_VARCHAR);
     }
     
     @Test
-    public void assertReadVarcharValueWithMeta1() {
+    void assertReadVarcharValueWithMeta1() {
         assertReadVarcharValueWithMeta("test_value".getBytes());
         assertReadVarcharValueWithMeta(new byte[]{-1, 0, 1});
     }
@@ -67,7 +67,7 @@ public final class MySQLVarcharBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadVarcharValueWithMeta2() {
+    void assertReadVarcharValueWithMeta2() {
         StringBuilder expectedStringBuilder = new StringBuilder("test string for length more than 256");
         for (int i = 0; i < 256; i++) {
             expectedStringBuilder.append(i);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
index 3b4bdd29c97..9f06c91b5a4 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDateBinlogProtocolValueTest.java
@@ -33,7 +33,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDateBinlogProtocolValueTest {
+class MySQLDateBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -45,7 +45,7 @@ public final class MySQLDateBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(1901 * 16 * 32 + 32 + 1);
         Date expected = Date.valueOf(LocalDate.of(1901, 1, 1));
@@ -53,7 +53,7 @@ public final class MySQLDateBinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadNullDate() {
+    void assertReadNullDate() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(0);
         assertThat(new MySQLDateBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.ZERO_OF_DATE));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
index defb2ed0c98..c92d0b15b1f 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetime2BinlogProtocolValueTest.java
@@ -35,7 +35,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDatetime2BinlogProtocolValueTest {
+class MySQLDatetime2BinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -46,19 +46,19 @@ public final class MySQLDatetime2BinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_DATETIME2);
     }
     
     @Test
-    public void assertReadWithoutFraction() {
+    void assertReadWithoutFraction() {
         when(payload.readInt1()).thenReturn(0xfe, 0xf3, 0xff, 0x7e, 0xfb);
         LocalDateTime expected = LocalDateTime.of(9999, 12, 31, 23, 59, 59);
         assertThat(new MySQLDatetime2BinlogProtocolValue().read(columnDef, payload), is(Timestamp.valueOf(expected)));
     }
     
     @Test
-    public void assertReadWithoutFraction1() {
+    void assertReadWithoutFraction1() {
         columnDef.setColumnMeta(1);
         when(payload.readInt1()).thenReturn(0xfe, 0xf3, 0xff, 0x7e, 0xfb, 0x00);
         LocalDateTime expected = LocalDateTime.of(9999, 12, 31, 23, 59, 59, 0);
@@ -66,7 +66,7 @@ public final class MySQLDatetime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithoutFraction3() {
+    void assertReadWithoutFraction3() {
         columnDef.setColumnMeta(3);
         when(payload.readInt1()).thenReturn(0xfe, 0xf3, 0xff, 0x7e, 0xfb);
         when(payload.getByteBuf()).thenReturn(byteBuf);
@@ -76,7 +76,7 @@ public final class MySQLDatetime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithoutFraction5() {
+    void assertReadWithoutFraction5() {
         columnDef.setColumnMeta(5);
         when(payload.readInt1()).thenReturn(0xfe, 0xf3, 0xff, 0x7e, 0xfb);
         when(payload.getByteBuf()).thenReturn(byteBuf);
@@ -86,7 +86,7 @@ public final class MySQLDatetime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         assertThat(new MySQLDatetime2BinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.DATETIME_OF_ZERO));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
index 8c729a639f1..1051e9cd652 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLDatetimeBinlogProtocolValueTest.java
@@ -32,7 +32,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDatetimeBinlogProtocolValueTest {
+class MySQLDatetimeBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -41,14 +41,14 @@ public final class MySQLDatetimeBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readInt8()).thenReturn(99991231235959L);
         LocalDateTime expected = LocalDateTime.of(9999, 12, 31, 23, 59, 59);
         assertThat(new MySQLDatetimeBinlogProtocolValue().read(columnDef, payload), is(Timestamp.valueOf(expected)));
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         when(payload.readInt8()).thenReturn(0L);
         assertThat(new MySQLDatetimeBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.DATETIME_OF_ZERO));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
index 434c0b396bc..5be56de9753 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTime2BinlogProtocolValueTest.java
@@ -34,7 +34,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTime2BinlogProtocolValueTest {
+class MySQLTime2BinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -45,20 +45,20 @@ public final class MySQLTime2BinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_TIME2);
         columnDef.setColumnMeta(0);
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMedium()).thenReturn(0x800000 | (0x10 << 12) | (0x08 << 6) | 0x04);
         assertThat(new MySQLTime2BinlogProtocolValue().read(columnDef, payload), is(LocalTime.of(16, 8, 4)));
     }
     
     @Test
-    public void assertReadWithFraction1() {
+    void assertReadWithFraction1() {
         columnDef.setColumnMeta(1);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(payload.readInt1()).thenReturn(90);
@@ -67,7 +67,7 @@ public final class MySQLTime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithFraction3() {
+    void assertReadWithFraction3() {
         columnDef.setColumnMeta(3);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedShort()).thenReturn(9000);
@@ -76,7 +76,7 @@ public final class MySQLTime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithFraction6() {
+    void assertReadWithFraction6() {
         columnDef.setColumnMeta(6);
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMedium()).thenReturn(0x800000 | (0x10 << 12) | (0x08 << 6) | 0x04, 10123);
@@ -84,7 +84,7 @@ public final class MySQLTime2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMedium()).thenReturn(0x800000);
         assertThat(new MySQLTime2BinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.ZERO_OF_TIME));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
index 9e8998905d6..3f200457e8d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeBinlogProtocolValueTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTimeBinlogProtocolValueTest {
+class MySQLTimeBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -42,14 +42,14 @@ public final class MySQLTimeBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(16 * 10000 + 59 * 100 + 59);
         assertThat(new MySQLTimeBinlogProtocolValue().read(columnDef, payload), is("16:59:59"));
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         when(payload.getByteBuf()).thenReturn(byteBuf);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(0);
         assertThat(new MySQLTimeBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.ZERO_OF_TIME));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeValueUtilsTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeValueUtilsTest.java
index 284ab3257b3..ad80d5f6014 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeValueUtilsTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimeValueUtilsTest.java
@@ -24,10 +24,10 @@ import java.text.SimpleDateFormat;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLTimeValueUtilsTest {
+class MySQLTimeValueUtilsTest {
     
     @Test
-    public void assertGetSimpleDateFormat() {
+    void assertGetSimpleDateFormat() {
         Timestamp expected = new Timestamp(1584599445000L);
         assertThat(MySQLTimeValueUtils.getSimpleDateFormat().format(expected), is(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(expected)));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
index 64617ff3ad4..217eef8bdd1 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestamp2BinlogProtocolValueTest.java
@@ -34,7 +34,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTimestamp2BinlogProtocolValueTest {
+class MySQLTimestamp2BinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -45,20 +45,20 @@ public final class MySQLTimestamp2BinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         columnDef = new MySQLBinlogColumnDef(MySQLBinaryColumnType.MYSQL_TYPE_TIMESTAMP2);
         when(payload.getByteBuf()).thenReturn(byteBuf);
     }
     
     @Test
-    public void assertReadWithoutFraction() {
+    void assertReadWithoutFraction() {
         int currentSeconds = Long.valueOf(System.currentTimeMillis() / 1000).intValue();
         when(byteBuf.readInt()).thenReturn(currentSeconds);
         assertThat(new MySQLTimestamp2BinlogProtocolValue().read(columnDef, payload), is(new Timestamp(currentSeconds * 1000L)));
     }
     
     @Test
-    public void assertReadWithFraction() {
+    void assertReadWithFraction() {
         columnDef.setColumnMeta(1);
         long currentTimeMillis = 1678795614082L;
         int currentSeconds = Long.valueOf(currentTimeMillis / 1000).intValue();
@@ -69,7 +69,7 @@ public final class MySQLTimestamp2BinlogProtocolValueTest {
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         when(byteBuf.readInt()).thenReturn(0);
         assertThat(new MySQLTimestamp2BinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.DATETIME_OF_ZERO));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
index c58a428323e..7178d38fd5d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLTimestampBinlogProtocolValueTest.java
@@ -31,7 +31,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTimestampBinlogProtocolValueTest {
+class MySQLTimestampBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -40,14 +40,14 @@ public final class MySQLTimestampBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         int currentSeconds = Long.valueOf(System.currentTimeMillis() / 1000).intValue();
         when(payload.readInt4()).thenReturn(currentSeconds);
         assertThat(new MySQLTimestampBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.getSimpleDateFormat().format(new Timestamp(currentSeconds * 1000L))));
     }
     
     @Test
-    public void assertReadNullTime() {
+    void assertReadNullTime() {
         when(payload.readInt4()).thenReturn(0);
         assertThat(new MySQLTimestampBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.DATETIME_OF_ZERO));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
index cf599106f61..31a0140a75c 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/time/MySQLYearBinlogProtocolValueTest.java
@@ -29,7 +29,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLYearBinlogProtocolValueTest {
+class MySQLYearBinlogProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -38,13 +38,13 @@ public final class MySQLYearBinlogProtocolValueTest {
     private MySQLBinlogColumnDef columnDef;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readInt1()).thenReturn(1);
         assertThat(new MySQLYearBinlogProtocolValue().read(columnDef, payload), is("1901"));
     }
     
     @Test
-    public void assertReadNullYear() {
+    void assertReadNullYear() {
         when(payload.readInt1()).thenReturn(0);
         assertThat(new MySQLYearBinlogProtocolValue().read(columnDef, payload), is(MySQLTimeValueUtils.YEAR_OF_ZERO));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeLoaderTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeLoaderTest.java
index 0a1300ec95d..9a83d3086e7 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeLoaderTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeLoaderTest.java
@@ -26,17 +26,17 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class MySQLCommandPacketTypeLoaderTest {
+class MySQLCommandPacketTypeLoaderTest {
     
     @Test
-    public void assertGetCommandPacketType() {
+    void assertGetCommandPacketType() {
         MySQLPacketPayload payload = mock(MySQLPacketPayload.class);
         when(payload.readInt1()).thenReturn(MySQLCommandPacketType.COM_QUIT.getValue());
         assertThat(MySQLCommandPacketTypeLoader.getCommandPacketType(payload), is(MySQLCommandPacketType.COM_QUIT));
     }
     
     @Test
-    public void assertGetCommandPacketTypeError() {
+    void assertGetCommandPacketTypeError() {
         MySQLPacketPayload payload = mock(MySQLPacketPayload.class);
         when(payload.readInt1()).thenReturn(0x21);
         assertThrows(NullPointerException.class, () -> MySQLCommandPacketTypeLoader.getCommandPacketType(payload));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
index fbd62ce925e..2b9f8d31dad 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/MySQLCommandPacketTypeTest.java
@@ -23,15 +23,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLCommandPacketTypeTest {
+class MySQLCommandPacketTypeTest {
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(MySQLCommandPacketType.valueOf(MySQLCommandPacketType.COM_SLEEP.getValue()), is(MySQLCommandPacketType.COM_SLEEP));
     }
     
     @Test
-    public void assertGetValueWithIllegalArgument() {
+    void assertGetValueWithIllegalArgument() {
         assertThrows(NullPointerException.class, () -> MySQLCommandPacketType.valueOf(-1));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
index 0756a7a6933..341e629ca2d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLComSetOptionPacketTest.java
@@ -26,16 +26,16 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLComSetOptionPacketTest {
+class MySQLComSetOptionPacketTest {
     
     @Test
-    public void assertMultiStatementsOn() {
+    void assertMultiStatementsOn() {
         MySQLComSetOptionPacket actual = new MySQLComSetOptionPacket(new MySQLPacketPayload(Unpooled.wrappedBuffer(new byte[]{0x00, 0x00}), StandardCharsets.UTF_8));
         assertThat(actual.getValue(), is(MySQLComSetOptionPacket.MYSQL_OPTION_MULTI_STATEMENTS_ON));
     }
     
     @Test
-    public void assertMultiStatementsOff() {
+    void assertMultiStatementsOff() {
         MySQLComSetOptionPacket actual = new MySQLComSetOptionPacket(new MySQLPacketPayload(Unpooled.wrappedBuffer(new byte[]{0x01, 0x00}), StandardCharsets.UTF_8));
         assertThat(actual.getValue(), is(MySQLComSetOptionPacket.MYSQL_OPTION_MULTI_STATEMENTS_OFF));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLUnsupportedCommandPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLUnsupportedCommandPacketTest.java
index f158cfa2738..bbd429c7670 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLUnsupportedCommandPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/MySQLUnsupportedCommandPacketTest.java
@@ -25,13 +25,13 @@ import org.mockito.Mock;
 import org.mockito.junit.jupiter.MockitoExtension;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLUnsupportedCommandPacketTest {
+class MySQLUnsupportedCommandPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         MySQLUnsupportedCommandPacket actual = new MySQLUnsupportedCommandPacket(MySQLCommandPacketType.COM_DEBUG);
         actual.write(payload);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
index c0c66d58bd1..45c59d69984 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/initdb/MySQLComInitDbPacketTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComInitDbPacketTest {
+class MySQLComInitDbPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readStringEOF()).thenReturn("logic_db");
         MySQLComInitDbPacket actual = new MySQLComInitDbPacket(payload);
         assertThat(actual.getSchema(), is("logic_db"));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readStringEOF()).thenReturn("logic_db");
         MySQLComInitDbPacket actual = new MySQLComInitDbPacket(payload);
         actual.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/ping/MySQLComPingPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/ping/MySQLComPingPacketTest.java
index 734f48693be..fe076dce9b8 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/ping/MySQLComPingPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/ping/MySQLComPingPacketTest.java
@@ -27,13 +27,13 @@ import org.mockito.junit.jupiter.MockitoExtension;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComPingPacketTest {
+class MySQLComPingPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         MySQLComPingPacket actual = new MySQLComPingPacket();
         actual.write(payload);
         verify(payload).writeInt1(MySQLCommandPacketType.COM_PING.getValue());
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/quit/MySQLComQuitPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/quit/MySQLComQuitPacketTest.java
index 096ad618649..d6b71540b09 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/quit/MySQLComQuitPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/admin/quit/MySQLComQuitPacketTest.java
@@ -27,13 +27,13 @@ import org.mockito.junit.jupiter.MockitoExtension;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComQuitPacketTest {
+class MySQLComQuitPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         MySQLComQuitPacket actual = new MySQLComQuitPacket();
         actual.write(payload);
         verify(payload).writeInt1(MySQLCommandPacketType.COM_QUIT.getValue());
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
index 67f7787bbf0..c1c5b365533 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComBinlogDumpCommandPacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComBinlogDumpCommandPacketTest {
+class MySQLComBinlogDumpCommandPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt2()).thenReturn(0);
         when(payload.readStringEOF()).thenReturn("binlog-000001");
         when(payload.readInt4()).thenReturn(4, 123456);
@@ -48,7 +48,7 @@ public final class MySQLComBinlogDumpCommandPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLComBinlogDumpCommandPacket(4, 123456, "binlog-000001").write(payload);
         verify(payload).writeInt1(MySQLCommandPacketType.COM_BINLOG_DUMP.getValue());
         verify(payload).writeInt4(4);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
index cd60b57bc00..abd2e65da98 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/binlog/MySQLComRegisterSlaveCommandPacketTest.java
@@ -31,13 +31,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComRegisterSlaveCommandPacketTest {
+class MySQLComRegisterSlaveCommandPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt4()).thenReturn(123456, 654321);
         when(payload.readInt1()).thenReturn(4, 4, 8);
         when(payload.readStringFix(4)).thenReturn("host", "user");
@@ -53,7 +53,7 @@ public final class MySQLComRegisterSlaveCommandPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLComRegisterSlaveCommandPacket(123456, "host", "user", "password", 3307).write(payload);
         verify(payload).writeInt1(MySQLCommandPacketType.COM_REGISTER_SLAVE.getValue());
         verify(payload).writeInt4(123456);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLColumnDefinition41PacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLColumnDefinition41PacketTest.java
index 152e5186830..4132c244fa4 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLColumnDefinition41PacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLColumnDefinition41PacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLColumnDefinition41PacketTest {
+class MySQLColumnDefinition41PacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWriteWithPayload() {
+    void assertWriteWithPayload() {
         when(payload.readInt1()).thenReturn(MySQLBinaryColumnType.MYSQL_TYPE_LONG.getValue(), 0);
         when(payload.readInt2()).thenReturn(MySQLServerInfo.DEFAULT_CHARSET.getId(), 0);
         when(payload.readInt4()).thenReturn(10);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
index 1388da9361c..9eef292f269 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
@@ -29,13 +29,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLFieldCountPacketTest {
+class MySQLFieldCountPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readInt1()).thenReturn(3);
         MySQLFieldCountPacket actual = new MySQLFieldCountPacket(payload);
         assertThat(actual.getColumnCount(), is(3));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
index 16886dcb449..bf091f6bd83 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/MySQLComStmtSendLongDataPacketTest.java
@@ -26,10 +26,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLComStmtSendLongDataPacketTest {
+class MySQLComStmtSendLongDataPacketTest {
     
     @Test
-    public void assertNewPacket() {
+    void assertNewPacket() {
         byte[] data = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x62, 0x63};
         MySQLComStmtSendLongDataPacket actual = new MySQLComStmtSendLongDataPacket(new MySQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8));
         assertThat(actual.getStatementId(), is(1));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
index 1c61a5a41ac..47281736a8b 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/close/MySQLComStmtClosePacketTest.java
@@ -28,20 +28,20 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComStmtClosePacketTest {
+class MySQLComStmtClosePacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readInt4()).thenReturn(1);
         MySQLComStmtClosePacket actual = new MySQLComStmtClosePacket(payload);
         assertThat(actual.getStatementId(), is(1));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readInt4()).thenReturn(1);
         MySQLComStmtClosePacket actual = new MySQLComStmtClosePacket(payload);
         actual.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLBinaryResultSetRowPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLBinaryResultSetRowPacketTest.java
index 44fa24c0d53..a472105446a 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLBinaryResultSetRowPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLBinaryResultSetRowPacketTest.java
@@ -31,13 +31,13 @@ import java.util.Arrays;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLBinaryResultSetRowPacketTest {
+class MySQLBinaryResultSetRowPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         BinaryRow row = new BinaryRow(Arrays.asList(new BinaryCell(MySQLBinaryColumnType.MYSQL_TYPE_STRING, "value"), new BinaryCell(MySQLBinaryColumnType.MYSQL_TYPE_STRING, null)));
         MySQLBinaryResultSetRowPacket actual = new MySQLBinaryResultSetRowPacket(row);
         actual.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
index 8a67006abcb..82bc459cfe7 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
@@ -34,10 +34,10 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class MySQLComStmtExecutePacketTest {
+class MySQLComStmtExecutePacketTest {
     
     @Test
-    public void assertNewWithoutParameter() {
+    void assertNewWithoutParameter() {
         byte[] data = {0x01, 0x00, 0x00, 0x00, 0x09, 0x01, 0x00, 0x00, 0x00};
         MySQLPacketPayload payload = new MySQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8);
         MySQLComStmtExecutePacket actual = new MySQLComStmtExecutePacket(payload, 0);
@@ -47,7 +47,7 @@ public final class MySQLComStmtExecutePacketTest {
     }
     
     @Test
-    public void assertNewParameterBoundWithNotNullParameters() throws SQLException {
+    void assertNewParameterBoundWithNotNullParameters() throws SQLException {
         byte[] data = {0x01, 0x00, 0x00, 0x00, 0x09, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00};
         MySQLPacketPayload payload = new MySQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8);
         MySQLComStmtExecutePacket actual = new MySQLComStmtExecutePacket(payload, 1);
@@ -61,7 +61,7 @@ public final class MySQLComStmtExecutePacketTest {
     }
     
     @Test
-    public void assertNewWithNullParameters() throws SQLException {
+    void assertNewWithNullParameters() throws SQLException {
         byte[] data = {0x01, 0x00, 0x00, 0x00, 0x09, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x03, 0x00};
         MySQLPacketPayload payload = new MySQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8);
         MySQLComStmtExecutePacket actual = new MySQLComStmtExecutePacket(payload, 1);
@@ -75,7 +75,7 @@ public final class MySQLComStmtExecutePacketTest {
     }
     
     @Test
-    public void assertNewWithLongDataParameter() throws SQLException {
+    void assertNewWithLongDataParameter() throws SQLException {
         byte[] data = {0x02, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, (byte) 0xfc, 0x00};
         MySQLPacketPayload payload = new MySQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8);
         MySQLComStmtExecutePacket actual = new MySQLComStmtExecutePacket(payload, 1);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
index a5d63ff00f9..9b79a38b8bb 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/MySQLNullBitmapTest.java
@@ -30,13 +30,13 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLNullBitmapTest {
+class MySQLNullBitmapTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNewMySQLNullBitmapFromPayload() {
+    void assertNewMySQLNullBitmapFromPayload() {
         when(payload.readInt1()).thenReturn(0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80);
         MySQLNullBitmap actual = new MySQLNullBitmap(64, payload);
         assertTrue(actual.isNullParameter(0));
@@ -47,7 +47,7 @@ public final class MySQLNullBitmapTest {
     }
     
     @Test
-    public void assertGetNullBitmap() {
+    void assertGetNullBitmap() {
         MySQLNullBitmap actual = new MySQLNullBitmap(8, 0);
         assertThat(actual.getNullBitmap().length, is(1));
         actual = new MySQLNullBitmap(9, 0);
@@ -55,13 +55,13 @@ public final class MySQLNullBitmapTest {
     }
     
     @Test
-    public void assertIsNotNullParameter() {
+    void assertIsNotNullParameter() {
         MySQLNullBitmap actual = new MySQLNullBitmap(8, 0);
         assertFalse(actual.isNullParameter(0));
     }
     
     @Test
-    public void assertIsNullParameter() {
+    void assertIsNullParameter() {
         MySQLNullBitmap actual = new MySQLNullBitmap(8, 0);
         actual.setNullBit(0);
         assertTrue(actual.isNullParameter(0));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLBinaryProtocolValueFactoryTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLBinaryProtocolValueFactoryTest.java
index ec7eab3a42e..777ddf83496 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLBinaryProtocolValueFactoryTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLBinaryProtocolValueFactoryTest.java
@@ -25,140 +25,140 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class MySQLBinaryProtocolValueFactoryTest {
+class MySQLBinaryProtocolValueFactoryTest {
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeString() {
+    void assertGetBinaryProtocolValueWithMySQLTypeString() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_STRING), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeVarchar() {
+    void assertGetBinaryProtocolValueWithMySQLTypeVarchar() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_VARCHAR), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeVarString() {
+    void assertGetBinaryProtocolValueWithMySQLTypeVarString() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_VAR_STRING), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeEnum() {
+    void assertGetBinaryProtocolValueWithMySQLTypeEnum() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_ENUM), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeSet() {
+    void assertGetBinaryProtocolValueWithMySQLTypeSet() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_SET), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeLongBlob() {
+    void assertGetBinaryProtocolValueWithMySQLTypeLongBlob() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_LONG_BLOB), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeMediumBlob() {
+    void assertGetBinaryProtocolValueWithMySQLTypeMediumBlob() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_MEDIUM_BLOB), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeBlob() {
+    void assertGetBinaryProtocolValueWithMySQLTypeBlob() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_BLOB), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeTinyBlob() {
+    void assertGetBinaryProtocolValueWithMySQLTypeTinyBlob() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_TINY_BLOB), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeGeometry() {
+    void assertGetBinaryProtocolValueWithMySQLTypeGeometry() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_GEOMETRY), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeBit() {
+    void assertGetBinaryProtocolValueWithMySQLTypeBit() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_BIT), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeDecimal() {
+    void assertGetBinaryProtocolValueWithMySQLTypeDecimal() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_DECIMAL), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeNewDecimal() {
+    void assertGetBinaryProtocolValueWithMySQLTypeNewDecimal() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_NEWDECIMAL), instanceOf(MySQLStringLenencBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeLongLong() {
+    void assertGetBinaryProtocolValueWithMySQLTypeLongLong() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_LONGLONG), instanceOf(MySQLInt8BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeLong() {
+    void assertGetBinaryProtocolValueWithMySQLTypeLong() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_LONG), instanceOf(MySQLInt4BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeInt24() {
+    void assertGetBinaryProtocolValueWithMySQLTypeInt24() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_INT24), instanceOf(MySQLInt4BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeShort() {
+    void assertGetBinaryProtocolValueWithMySQLTypeShort() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_SHORT), instanceOf(MySQLInt2BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeYear() {
+    void assertGetBinaryProtocolValueWithMySQLTypeYear() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_YEAR), instanceOf(MySQLInt2BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeTiny() {
+    void assertGetBinaryProtocolValueWithMySQLTypeTiny() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_TINY), instanceOf(MySQLInt1BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeDouble() {
+    void assertGetBinaryProtocolValueWithMySQLTypeDouble() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_DOUBLE), instanceOf(MySQLDoubleBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeFloat() {
+    void assertGetBinaryProtocolValueWithMySQLTypeFloat() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_FLOAT), instanceOf(MySQLFloatBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeDate() {
+    void assertGetBinaryProtocolValueWithMySQLTypeDate() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_DATE), instanceOf(MySQLDateBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeDatetime() {
+    void assertGetBinaryProtocolValueWithMySQLTypeDatetime() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_DATETIME), instanceOf(MySQLDateBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeTimestamp() {
+    void assertGetBinaryProtocolValueWithMySQLTypeTimestamp() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_TIMESTAMP), instanceOf(MySQLDateBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeTime() {
+    void assertGetBinaryProtocolValueWithMySQLTypeTime() {
         assertThat(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_TIME), instanceOf(MySQLTimeBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithMySQLTypeNull() {
+    void assertGetBinaryProtocolValueWithMySQLTypeNull() {
         assertNull(MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(MySQLBinaryColumnType.MYSQL_TYPE_NULL));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueWithUnsupportedType() {
+    void assertGetBinaryProtocolValueWithUnsupportedType() {
         assertThrows(IllegalArgumentException.class, () -> MySQLBinaryProtocolValueFactory.getBinaryProtocolValue(null));
     }
 }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
index 5e79ebe0f04..30464372498 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDateBinaryProtocolValueTest.java
@@ -35,18 +35,18 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDateBinaryProtocolValueTest {
+class MySQLDateBinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertReadWithZeroByte() {
+    void assertReadWithZeroByte() {
         assertThrows(SQLFeatureNotSupportedException.class, () -> new MySQLDateBinaryProtocolValue().read(payload, false));
     }
     
     @Test
-    public void assertReadWithFourBytes() throws SQLException {
+    void assertReadWithFourBytes() throws SQLException {
         when(payload.readInt1()).thenReturn(4, 12, 31);
         when(payload.readInt2()).thenReturn(2018);
         Calendar actual = Calendar.getInstance();
@@ -57,7 +57,7 @@ public final class MySQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithSevenBytes() throws SQLException {
+    void assertReadWithSevenBytes() throws SQLException {
         when(payload.readInt1()).thenReturn(7, 12, 31, 10, 59, 0);
         when(payload.readInt2()).thenReturn(2018);
         Calendar actual = Calendar.getInstance();
@@ -71,7 +71,7 @@ public final class MySQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithElevenBytes() throws SQLException {
+    void assertReadWithElevenBytes() throws SQLException {
         when(payload.readInt1()).thenReturn(11, 12, 31, 10, 59, 0);
         when(payload.readInt2()).thenReturn(2018);
         when(payload.readInt4()).thenReturn(232323);
@@ -88,13 +88,13 @@ public final class MySQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithIllegalArgument() {
+    void assertReadWithIllegalArgument() {
         when(payload.readInt1()).thenReturn(100);
         assertThrows(SQLFeatureNotSupportedException.class, () -> new MySQLDateBinaryProtocolValue().read(payload, false));
     }
     
     @Test
-    public void assertWriteWithFourBytes() {
+    void assertWriteWithFourBytes() {
         MySQLDateBinaryProtocolValue actual = new MySQLDateBinaryProtocolValue();
         actual.write(payload, Timestamp.valueOf("1970-01-14 0:0:0"));
         verify(payload).writeInt1(4);
@@ -104,7 +104,7 @@ public final class MySQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWriteWithSevenBytes() {
+    void assertWriteWithSevenBytes() {
         MySQLDateBinaryProtocolValue actual = new MySQLDateBinaryProtocolValue();
         actual.write(payload, Timestamp.valueOf("1970-01-14 12:10:30"));
         verify(payload).writeInt1(7);
@@ -117,7 +117,7 @@ public final class MySQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWriteWithElevenBytes() {
+    void assertWriteWithElevenBytes() {
         MySQLDateBinaryProtocolValue actual = new MySQLDateBinaryProtocolValue();
         actual.write(payload, Timestamp.valueOf("1970-01-14 12:10:30.1"));
         verify(payload).writeInt1(11);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
index 5b4322fc2dd..21e76d3eb10 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLDoubleBinaryProtocolValueTest.java
@@ -32,19 +32,19 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLDoubleBinaryProtocolValueTest {
+class MySQLDoubleBinaryProtocolValueTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(byteBuf.readDoubleLE()).thenReturn(1.0d);
         assertThat(new MySQLDoubleBinaryProtocolValue().read(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8), false), is(1.0d));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLDoubleBinaryProtocolValue().write(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1.0d);
         verify(byteBuf).writeDoubleLE(1.0d);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
index bfa2f7fe46b..3beaa90b75c 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLFloatBinaryProtocolValueTest.java
@@ -32,19 +32,19 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLFloatBinaryProtocolValueTest {
+class MySQLFloatBinaryProtocolValueTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(byteBuf.readFloatLE()).thenReturn(1.0f);
         assertThat(new MySQLFloatBinaryProtocolValue().read(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8), false), is(1.0f));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLFloatBinaryProtocolValue().write(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1.0f);
         verify(byteBuf).writeFloatLE(1.0f);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
index 3ab4215b28c..23b7af2c17c 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt1BinaryProtocolValueTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLInt1BinaryProtocolValueTest {
+class MySQLInt1BinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(Unpooled.wrappedBuffer(new byte[]{1, 1}));
         assertThat(new MySQLInt1BinaryProtocolValue().read(payload, false), is((byte) 1));
         assertThat(new MySQLInt1BinaryProtocolValue().read(payload, true), is((short) 1));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLInt1BinaryProtocolValue().write(payload, 1);
         verify(payload).writeInt1(1);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
index 7d8798332a9..4787a46526f 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt2BinaryProtocolValueTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLInt2BinaryProtocolValueTest {
+class MySQLInt2BinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(Unpooled.wrappedBuffer(new byte[]{1, 0, 1, 0}));
         assertThat(new MySQLInt2BinaryProtocolValue().read(payload, false), is((short) 1));
         assertThat(new MySQLInt2BinaryProtocolValue().read(payload, true), is(1));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLInt2BinaryProtocolValue().write(payload, 1);
         verify(payload).writeInt2(1);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
index 5aecb0ea78b..7b2422e8d5b 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt4BinaryProtocolValueTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLInt4BinaryProtocolValueTest {
+class MySQLInt4BinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.getByteBuf()).thenReturn(Unpooled.wrappedBuffer(new byte[]{1, 0, 0, 0, 1, 0, 0, 0}));
         assertThat(new MySQLInt4BinaryProtocolValue().read(payload, false), is(1));
         assertThat(new MySQLInt4BinaryProtocolValue().read(payload, true), is(1L));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLInt4BinaryProtocolValue().write(payload, 1);
         verify(payload).writeInt4(1);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
index c8f37ea2ca2..4c5420dc8e5 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
@@ -31,25 +31,25 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLInt8BinaryProtocolValueTest {
+class MySQLInt8BinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readInt8()).thenReturn(1L);
         assertThat(new MySQLInt8BinaryProtocolValue().read(payload, false), is(1L));
     }
     
     @Test
-    public void assertWriteWithLong() {
+    void assertWriteWithLong() {
         new MySQLInt8BinaryProtocolValue().write(payload, 1L);
         verify(payload).writeInt8(1L);
     }
     
     @Test
-    public void assertWriteWithBigDecimal() {
+    void assertWriteWithBigDecimal() {
         new MySQLInt8BinaryProtocolValue().write(payload, new BigDecimal(1L));
         verify(payload).writeInt8(1L);
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
index df35a62a3b1..ddc8ff4b14d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLStringLenencBinaryProtocolValueTest.java
@@ -29,25 +29,25 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLStringLenencBinaryProtocolValueTest {
+class MySQLStringLenencBinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(payload.readStringLenenc()).thenReturn("value");
         assertThat(new MySQLStringLenencBinaryProtocolValue().read(payload, false), is("value"));
     }
     
     @Test
-    public void assertWriteString() {
+    void assertWriteString() {
         new MySQLStringLenencBinaryProtocolValue().write(payload, "value");
         verify(payload).writeStringLenenc("value");
     }
     
     @Test
-    public void assertWriteByteArray() {
+    void assertWriteByteArray() {
         new MySQLStringLenencBinaryProtocolValue().write(payload, new byte[]{});
         verify(payload).writeBytesLenenc(new byte[]{});
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
index c2c1e795905..3375645a6a7 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLTimeBinaryProtocolValueTest.java
@@ -39,18 +39,18 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTimeBinaryProtocolValueTest {
+class MySQLTimeBinaryProtocolValueTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertReadWithZeroByte() throws SQLException {
+    void assertReadWithZeroByte() throws SQLException {
         assertThat(new MySQLTimeBinaryProtocolValue().read(payload, false), is(new Timestamp(0)));
     }
     
     @Test
-    public void assertReadWithEightBytes() throws SQLException {
+    void assertReadWithEightBytes() throws SQLException {
         when(payload.readInt1()).thenReturn(8, 0, 10, 59, 0);
         Calendar actual = Calendar.getInstance();
         actual.setTimeInMillis(((Timestamp) new MySQLTimeBinaryProtocolValue().read(payload, false)).getTime());
@@ -60,7 +60,7 @@ public final class MySQLTimeBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithTwelveBytes() throws SQLException {
+    void assertReadWithTwelveBytes() throws SQLException {
         when(payload.readInt1()).thenReturn(12, 0, 10, 59, 0);
         Calendar actual = Calendar.getInstance();
         actual.setTimeInMillis(((Timestamp) new MySQLTimeBinaryProtocolValue().read(payload, false)).getTime());
@@ -70,20 +70,20 @@ public final class MySQLTimeBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertReadWithIllegalArgument() {
+    void assertReadWithIllegalArgument() {
         when(payload.readInt1()).thenReturn(100);
         assertThrows(SQLFeatureNotSupportedException.class, () -> new MySQLTimeBinaryProtocolValue().read(payload, false));
     }
     
     @Test
-    public void assertWriteWithZeroByte() {
+    void assertWriteWithZeroByte() {
         MySQLTimeBinaryProtocolValue actual = new MySQLTimeBinaryProtocolValue();
         actual.write(payload, Time.valueOf("00:00:00"));
         verify(payload).writeInt1(0);
     }
     
     @Test
-    public void assertWriteWithEightBytes() {
+    void assertWriteWithEightBytes() {
         MySQLTimeBinaryProtocolValue actual = new MySQLTimeBinaryProtocolValue();
         actual.write(payload, Time.valueOf("01:30:10"));
         verify(payload).writeInt1(8);
@@ -97,7 +97,7 @@ public final class MySQLTimeBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWriteWithTwelveBytes() {
+    void assertWriteWithTwelveBytes() {
         MySQLTimeBinaryProtocolValue actual = new MySQLTimeBinaryProtocolValue();
         actual.write(payload, new Time(1L));
         verify(payload, atLeastOnce()).writeInt1(12);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPrepareOKPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPrepareOKPacketTest.java
index e00df460bd4..4e61745cd95 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPrepareOKPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPrepareOKPacketTest.java
@@ -27,13 +27,13 @@ import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComStmtPrepareOKPacketTest {
+class MySQLComStmtPrepareOKPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         MySQLComStmtPrepareOKPacket actual = new MySQLComStmtPrepareOKPacket(1, 0, 1, 0);
         actual.write(payload);
         verify(payload).writeInt1(0x00);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
index 911d9e08097..518f923a851 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/prepare/MySQLComStmtPreparePacketTest.java
@@ -29,20 +29,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComStmtPreparePacketTest {
+class MySQLComStmtPreparePacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readStringEOF()).thenReturn("SELECT id FROM tbl WHERE id=?");
         MySQLComStmtPreparePacket actual = new MySQLComStmtPreparePacket(payload);
         assertThat(actual.getSql(), is("SELECT id FROM tbl WHERE id=?"));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readStringEOF()).thenReturn("SELECT id FROM tbl WHERE id=?");
         MySQLComStmtPreparePacket actual = new MySQLComStmtPreparePacket(payload);
         actual.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/reset/MySQLComStmtResetPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/reset/MySQLComStmtResetPacketTest.java
index 75d5ca2c8dd..07826f791e8 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/reset/MySQLComStmtResetPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/reset/MySQLComStmtResetPacketTest.java
@@ -26,13 +26,13 @@ import org.mockito.junit.jupiter.MockitoExtension;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComStmtResetPacketTest {
+class MySQLComStmtResetPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertGetStatementId() {
+    void assertGetStatementId() {
         new MySQLComStmtResetPacket(payload);
         verify(payload).readInt4();
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java
index 9bbc1c3b4b0..1e874862b4d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java
@@ -35,20 +35,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLTextResultSetRowPacketTest {
+class MySQLTextResultSetRowPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readStringLenenc()).thenReturn("value_a", null, "value_c");
         MySQLTextResultSetRowPacket actual = new MySQLTextResultSetRowPacket(payload, 3);
         verify(payload, times(3)).readStringLenenc();
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         long now = System.currentTimeMillis();
         Timestamp timestamp = new Timestamp(now);
         MySQLTextResultSetRowPacket actual = new MySQLTextResultSetRowPacket(Arrays.asList(null, "value", BigDecimal.ONE, new byte[]{}, timestamp));
@@ -64,7 +64,7 @@ public final class MySQLTextResultSetRowPacketTest {
     }
     
     @Test
-    public void assertTimestampWithoutNanos() {
+    void assertTimestampWithoutNanos() {
         long now = System.currentTimeMillis() / 1000 * 1000;
         Timestamp timestamp = new Timestamp(now);
         MySQLTextResultSetRowPacket actual = new MySQLTextResultSetRowPacket(Arrays.asList(null, "value", BigDecimal.ONE, new byte[]{}, timestamp));
@@ -76,7 +76,7 @@ public final class MySQLTextResultSetRowPacketTest {
     }
     
     @Test
-    public void assertLocalDateTime() {
+    void assertLocalDateTime() {
         String localDateTimeStr = "2021-08-23T17:30:30";
         LocalDateTime time = LocalDateTime.parse(localDateTimeStr, DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"));
         MySQLTextResultSetRowPacket actual = new MySQLTextResultSetRowPacket(Collections.singletonList(time));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
index df231df5b68..7486bb54e1d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComFieldListPacketTest {
+class MySQLComFieldListPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readStringNul()).thenReturn("tbl");
         when(payload.readStringEOF()).thenReturn("-");
         MySQLComFieldListPacket actual = new MySQLComFieldListPacket(payload);
@@ -45,7 +45,7 @@ public final class MySQLComFieldListPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readStringNul()).thenReturn("tbl");
         when(payload.readStringEOF()).thenReturn("-");
         MySQLComFieldListPacket actual = new MySQLComFieldListPacket(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
index d400419c2f5..ae2889dc8ab 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLComQueryPacketTest {
+class MySQLComQueryPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         when(payload.readStringEOF()).thenReturn("SELECT id FROM tbl");
         MySQLComQueryPacket actual = new MySQLComQueryPacket(payload, false);
         assertThat(actual.getSql(), is("SELECT id FROM tbl"));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(payload.readStringEOF()).thenReturn("SELECT id FROM tbl");
         MySQLComQueryPacket actual = new MySQLComQueryPacket(payload, false);
         actual.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLEofPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLEofPacketTest.java
index 030a5483744..492453cd1fc 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLEofPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLEofPacketTest.java
@@ -30,20 +30,20 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLEofPacketTest {
+class MySQLEofPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNewEofPacketWithStatusFlag() {
+    void assertNewEofPacketWithStatusFlag() {
         MySQLEofPacket actual = new MySQLEofPacket(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue());
         assertThat(actual.getWarnings(), is(0));
         assertThat(actual.getStatusFlags(), is(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue()));
     }
     
     @Test
-    public void assertNewEofPacketWithPayload() {
+    void assertNewEofPacketWithPayload() {
         when(payload.readInt1()).thenReturn(MySQLEofPacket.HEADER);
         when(payload.readInt2()).thenReturn(0, MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue());
         MySQLEofPacket actual = new MySQLEofPacket(payload);
@@ -52,7 +52,7 @@ public final class MySQLEofPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLEofPacket(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue()).write(payload);
         verify(payload).writeInt1(MySQLEofPacket.HEADER);
         verify(payload).writeInt2(0);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLErrPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLErrPacketTest.java
index 03a96c88a7d..ec62cc5dc36 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLErrPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLErrPacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLErrPacketTest {
+class MySQLErrPacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNewErrPacketWithServerErrorCode() {
+    void assertNewErrPacketWithServerErrorCode() {
         MySQLErrPacket actual = new MySQLErrPacket(MySQLVendorError.ER_ACCESS_DENIED_ERROR, "root", "localhost", "root");
         assertThat(actual.getErrorCode(), is(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getVendorCode()));
         assertThat(actual.getSqlState(), is(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getSqlState().getValue()));
@@ -44,7 +44,7 @@ public final class MySQLErrPacketTest {
     }
     
     @Test
-    public void assertNewErrPacketWithPayload() {
+    void assertNewErrPacketWithPayload() {
         when(payload.readInt1()).thenReturn(MySQLErrPacket.HEADER);
         when(payload.readInt2()).thenReturn(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getVendorCode());
         when(payload.readStringFix(1)).thenReturn("#");
@@ -57,7 +57,7 @@ public final class MySQLErrPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLErrPacket(MySQLVendorError.ER_NO_DB_ERROR).write(payload);
         verify(payload).writeInt1(MySQLErrPacket.HEADER);
         verify(payload).writeInt2(1046);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLOKPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLOKPacketTest.java
index 133f1ab53a0..3ec8cae394d 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLOKPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLOKPacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLOKPacketTest {
+class MySQLOKPacketTest {
     
     @Mock
     private MySQLPacketPayload packetPayload;
     
     @Test
-    public void assertNewOKPacketWithStatusFlag() {
+    void assertNewOKPacketWithStatusFlag() {
         MySQLOKPacket actual = new MySQLOKPacket(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue());
         assertThat(actual.getAffectedRows(), is(0L));
         assertThat(actual.getLastInsertId(), is(0L));
@@ -46,7 +46,7 @@ public final class MySQLOKPacketTest {
     }
     
     @Test
-    public void assertNewOKPacketWithAffectedRowsAndLastInsertId() {
+    void assertNewOKPacketWithAffectedRowsAndLastInsertId() {
         MySQLOKPacket actual = new MySQLOKPacket(100L, 9999L, MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue());
         assertThat(actual.getAffectedRows(), is(100L));
         assertThat(actual.getLastInsertId(), is(9999L));
@@ -56,7 +56,7 @@ public final class MySQLOKPacketTest {
     }
     
     @Test
-    public void assertNewOKPacketWithPayload() {
+    void assertNewOKPacketWithPayload() {
         when(packetPayload.readInt1()).thenReturn(MySQLOKPacket.HEADER);
         when(packetPayload.readInt2()).thenReturn(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue(), 0);
         when(packetPayload.readIntLenenc()).thenReturn(100L, 9999L);
@@ -70,7 +70,7 @@ public final class MySQLOKPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new MySQLOKPacket(100L, 9999L, MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue()).write(packetPayload);
         verify(packetPayload).writeInt1(MySQLOKPacket.HEADER);
         verify(packetPayload).writeIntLenenc(100L);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
index 9cd41c09d15..5d7bf127685 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchRequestPacketTest.java
@@ -29,7 +29,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLAuthSwitchRequestPacketTest {
+class MySQLAuthSwitchRequestPacketTest {
     
     @Mock
     private MySQLAuthenticationPluginData authPluginData;
@@ -38,7 +38,7 @@ public final class MySQLAuthSwitchRequestPacketTest {
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         when(authPluginData.getAuthenticationPluginData()).thenReturn(new byte[]{0x11, 0x22});
         MySQLAuthSwitchRequestPacket authSwitchRequestPacket = new MySQLAuthSwitchRequestPacket("plugin", authPluginData);
         authSwitchRequestPacket.write(payload);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchResponsePacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchResponsePacketTest.java
index ef25a1aebb4..eb90c5abe78 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchResponsePacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthSwitchResponsePacketTest.java
@@ -28,7 +28,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLAuthSwitchResponsePacketTest {
+class MySQLAuthSwitchResponsePacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -36,7 +36,7 @@ public final class MySQLAuthSwitchResponsePacketTest {
     private final byte[] authPluginResponse = {0x22, 0x33};
     
     @Test
-    public void assertMySQLAuthSwitchResponsePacket() {
+    void assertMySQLAuthSwitchResponsePacket() {
         when(payload.readStringEOFByBytes()).thenReturn(authPluginResponse);
         MySQLAuthSwitchResponsePacket authSwitchResponsePacket = new MySQLAuthSwitchResponsePacket(payload);
         assertThat(authSwitchResponsePacket.getAuthPluginResponse(), is(authPluginResponse));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
index 969df79242b..b8a1bb3393a 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLAuthenticationPluginDataTest.java
@@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLAuthenticationPluginDataTest {
+class MySQLAuthenticationPluginDataTest {
     
     @Test
-    public void assertGetAuthPluginData() {
+    void assertGetAuthPluginData() {
         byte[] actualPart1 = {106, 105, 55, 122, 117, 98, 115, 109};
         byte[] actualPart2 = {68, 102, 53, 122, 65, 49, 84, 79, 85, 115, 116, 113};
         MySQLAuthenticationPluginData actual = new MySQLAuthenticationPluginData(actualPart1, actualPart2);
@@ -36,7 +36,7 @@ public final class MySQLAuthenticationPluginDataTest {
     }
     
     @Test
-    public void assertGetAuthPluginDataWithoutArguments() {
+    void assertGetAuthPluginDataWithoutArguments() {
         MySQLAuthenticationPluginData actual = new MySQLAuthenticationPluginData();
         assertThat(actual.getAuthenticationPluginDataPart1().length, is(8));
         assertThat(actual.getAuthenticationPluginDataPart2().length, is(12));
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
index b7c1dd1fe1c..c3bd5c8b6df 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakePacketTest.java
@@ -33,7 +33,7 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLHandshakePacketTest {
+class MySQLHandshakePacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
@@ -43,7 +43,7 @@ public final class MySQLHandshakePacketTest {
     private final byte[] part2 = {68, 102, 53, 122, 65, 49, 84, 79, 85, 115, 116, 113};
     
     @Test
-    public void assertNewWithPayload() {
+    void assertNewWithPayload() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.PROTOCOL_VERSION, MySQLServerInfo.DEFAULT_CHARSET.getId(), 0);
         when(payload.readStringNul()).thenReturn(MySQLServerInfo.getDefaultServerVersion());
         when(payload.readStringNulByBytes()).thenReturn(part1, part2);
@@ -63,7 +63,7 @@ public final class MySQLHandshakePacketTest {
     }
     
     @Test
-    public void assertNewWithClientPluginAuthPayload() {
+    void assertNewWithClientPluginAuthPayload() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.PROTOCOL_VERSION, MySQLServerInfo.DEFAULT_CHARSET.getId(), 0);
         when(payload.readStringNul()).thenReturn(MySQLServerInfo.getDefaultServerVersion(), MySQLAuthenticationMethod.NATIVE.getMethodName());
         when(payload.readStringNulByBytes()).thenReturn(part1, part2);
@@ -84,7 +84,7 @@ public final class MySQLHandshakePacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         MySQLAuthenticationPluginData authPluginData = new MySQLAuthenticationPluginData(part1, part2);
         new MySQLHandshakePacket(1000, authPluginData).write(payload);
         verify(payload).writeInt1(MySQLServerInfo.PROTOCOL_VERSION);
@@ -101,7 +101,7 @@ public final class MySQLHandshakePacketTest {
     }
     
     @Test
-    public void assertWriteWithClientPluginAuth() {
+    void assertWriteWithClientPluginAuth() {
         MySQLAuthenticationPluginData authPluginData = new MySQLAuthenticationPluginData(part1, part2);
         MySQLHandshakePacket actual = new MySQLHandshakePacket(1000, authPluginData);
         actual.setAuthPluginName(MySQLAuthenticationMethod.NATIVE);
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
index cdb1448f30e..47764825b78 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLHandshakeResponse41PacketTest.java
@@ -33,13 +33,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLHandshakeResponse41PacketTest {
+class MySQLHandshakeResponse41PacketTest {
     
     @Mock
     private MySQLPacketPayload payload;
     
     @Test
-    public void assertNewWithPayloadWithDatabase() {
+    void assertNewWithPayloadWithDatabase() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.DEFAULT_CHARSET.getId());
         when(payload.readInt4()).thenReturn(MySQLCapabilityFlag.CLIENT_CONNECT_WITH_DB.getValue(), 1000);
         when(payload.readStringNul()).thenReturn("root", "sharding_db");
@@ -56,7 +56,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertNewWithPayloadWithAuthPluginName() {
+    void assertNewWithPayloadWithAuthPluginName() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.DEFAULT_CHARSET.getId());
         when(payload.readInt4()).thenReturn(MySQLCapabilityFlag.CLIENT_PLUGIN_AUTH.getValue(), 1000);
         when(payload.readStringNul()).thenReturn("root", MySQLAuthenticationMethod.NATIVE.getMethodName());
@@ -73,7 +73,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertNewWithPayloadWithClientPluginAuthLenencClientData() {
+    void assertNewWithPayloadWithClientPluginAuthLenencClientData() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.DEFAULT_CHARSET.getId());
         when(payload.readInt4()).thenReturn(MySQLCapabilityFlag.CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA.getValue(), 1000);
         when(payload.readStringNul()).thenReturn("root");
@@ -90,7 +90,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertNewWithPayloadWithClientSecureConnection() {
+    void assertNewWithPayloadWithClientSecureConnection() {
         when(payload.readInt1()).thenReturn(MySQLServerInfo.DEFAULT_CHARSET.getId(), 1);
         when(payload.readInt4()).thenReturn(MySQLCapabilityFlag.CLIENT_SECURE_CONNECTION.getValue(), 1000);
         when(payload.readStringNul()).thenReturn("root");
@@ -107,7 +107,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertWriteWithDatabase() {
+    void assertWriteWithDatabase() {
         MySQLHandshakeResponse41Packet actual = new MySQLHandshakeResponse41Packet(100, MySQLServerInfo.DEFAULT_CHARSET.getId(), "root");
         actual.setAuthResponse(new byte[]{1});
         actual.setDatabase("sharding_db");
@@ -122,7 +122,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertWriteWithAuthPluginName() {
+    void assertWriteWithAuthPluginName() {
         MySQLHandshakeResponse41Packet actual = new MySQLHandshakeResponse41Packet(100, MySQLServerInfo.DEFAULT_CHARSET.getId(), "root");
         actual.setAuthResponse(new byte[]{1});
         actual.setAuthPluginName(MySQLAuthenticationMethod.NATIVE);
@@ -137,7 +137,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertWriteWithClientPluginAuthLenencClientData() {
+    void assertWriteWithClientPluginAuthLenencClientData() {
         MySQLHandshakeResponse41Packet actual = new MySQLHandshakeResponse41Packet(100, MySQLServerInfo.DEFAULT_CHARSET.getId(), "root");
         actual.setCapabilityFlags(MySQLCapabilityFlag.CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA.getValue());
         actual.setAuthResponse(new byte[]{1});
@@ -151,7 +151,7 @@ public final class MySQLHandshakeResponse41PacketTest {
     }
     
     @Test
-    public void assertWriteWithClientSecureConnection() {
+    void assertWriteWithClientSecureConnection() {
         MySQLHandshakeResponse41Packet actual = new MySQLHandshakeResponse41Packet(100, MySQLServerInfo.DEFAULT_CHARSET.getId(), "root");
         actual.setCapabilityFlags(MySQLCapabilityFlag.CLIENT_SECURE_CONNECTION.getValue());
         actual.setAuthResponse(new byte[]{1});
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
index 830e670b1d4..0bb1959d7a5 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/handshake/MySQLRandomGeneratorTest.java
@@ -22,10 +22,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLRandomGeneratorTest {
+class MySQLRandomGeneratorTest {
     
     @Test
-    public void assertGenerateRandomBytes() {
+    void assertGenerateRandomBytes() {
         assertThat(MySQLRandomGenerator.getINSTANCE().generateRandomBytes(8).length, is(8));
         assertThat(MySQLRandomGenerator.getINSTANCE().generateRandomBytes(12).length, is(12));
     }
diff --git a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/payload/MySQLPacketPayloadTest.java b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/payload/MySQLPacketPayloadTest.java
index 8ef75153ef5..18e288dee31 100644
--- a/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/payload/MySQLPacketPayloadTest.java
+++ b/db-protocol/mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/payload/MySQLPacketPayloadTest.java
@@ -31,61 +31,61 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MySQLPacketPayloadTest {
+class MySQLPacketPayloadTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertReadInt1() {
+    void assertReadInt1() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 1);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt1(), is(1));
     }
     
     @Test
-    public void assertWriteInt1() {
+    void assertWriteInt1() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt1(1);
         verify(byteBuf).writeByte(1);
     }
     
     @Test
-    public void assertReadInt2() {
+    void assertReadInt2() {
         when(byteBuf.readUnsignedShortLE()).thenReturn(1);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt2(), is(1));
     }
     
     @Test
-    public void assertWriteInt2() {
+    void assertWriteInt2() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt2(1);
         verify(byteBuf).writeShortLE(1);
     }
     
     @Test
-    public void assertReadInt3() {
+    void assertReadInt3() {
         when(byteBuf.readUnsignedMediumLE()).thenReturn(1);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt3(), is(1));
     }
     
     @Test
-    public void assertWriteInt3() {
+    void assertWriteInt3() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt3(1);
         verify(byteBuf).writeMediumLE(1);
     }
     
     @Test
-    public void assertReadInt4() {
+    void assertReadInt4() {
         when(byteBuf.readIntLE()).thenReturn(1);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt4(), is(1));
     }
     
     @Test
-    public void assertWriteInt4() {
+    void assertWriteInt4() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt4(1);
         verify(byteBuf).writeIntLE(1);
     }
     
     @Test
-    public void assertReadInt6() {
+    void assertReadInt6() {
         when(byteBuf.readByte()).thenReturn((byte) 0x01, (byte) 0x00);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt6(), is(1L));
         when(byteBuf.readByte()).thenReturn((byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x80);
@@ -93,199 +93,199 @@ public final class MySQLPacketPayloadTest {
     }
     
     @Test
-    public void assertWriteInt6() {
+    void assertWriteInt6() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt6(1L);
     }
     
     @Test
-    public void assertReadInt8() {
+    void assertReadInt8() {
         when(byteBuf.readLongLE()).thenReturn(1L);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readInt8(), is(1L));
     }
     
     @Test
-    public void assertWriteInt8() {
+    void assertWriteInt8() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeInt8(1L);
         verify(byteBuf).writeLongLE(1L);
     }
     
     @Test
-    public void assertReadIntLenencWithOneByte() {
+    void assertReadIntLenencWithOneByte() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 1);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readIntLenenc(), is(1L));
     }
     
     @Test
-    public void assertReadIntLenencWithZero() {
+    void assertReadIntLenencWithZero() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0xfb);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readIntLenenc(), is(0L));
     }
     
     @Test
-    public void assertReadIntLenencWithTwoBytes() {
+    void assertReadIntLenencWithTwoBytes() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0xfc);
         when(byteBuf.readUnsignedShortLE()).thenReturn(100);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readIntLenenc(), is(100L));
     }
     
     @Test
-    public void assertReadIntLenencWithThreeBytes() {
+    void assertReadIntLenencWithThreeBytes() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0xfd);
         when(byteBuf.readUnsignedMediumLE()).thenReturn(99999);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readIntLenenc(), is(99999L));
     }
     
     @Test
-    public void assertReadIntLenencWithFourBytes() {
+    void assertReadIntLenencWithFourBytes() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0xff);
         when(byteBuf.readLongLE()).thenReturn(Long.MAX_VALUE);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readIntLenenc(), is(Long.MAX_VALUE));
     }
     
     @Test
-    public void assertWriteIntLenencWithOneByte() {
+    void assertWriteIntLenencWithOneByte() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeIntLenenc(1L);
         verify(byteBuf).writeByte(1);
     }
     
     @Test
-    public void assertWriteIntLenencWithTwoBytes() {
+    void assertWriteIntLenencWithTwoBytes() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeIntLenenc(Double.valueOf(Math.pow(2, 16)).longValue() - 1);
         verify(byteBuf).writeByte(0xfc);
         verify(byteBuf).writeShortLE(Double.valueOf(Math.pow(2, 16)).intValue() - 1);
     }
     
     @Test
-    public void assertWriteIntLenencWithThreeBytes() {
+    void assertWriteIntLenencWithThreeBytes() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeIntLenenc(Double.valueOf(Math.pow(2, 24)).longValue() - 1);
         verify(byteBuf).writeByte(0xfd);
         verify(byteBuf).writeMediumLE(Double.valueOf(Math.pow(2, 24)).intValue() - 1);
     }
     
     @Test
-    public void assertWriteIntLenencWithFourBytes() {
+    void assertWriteIntLenencWithFourBytes() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeIntLenenc(Double.valueOf(Math.pow(2, 25)).longValue() - 1);
         verify(byteBuf).writeByte(0xfe);
         verify(byteBuf).writeLongLE(Double.valueOf(Math.pow(2, 25)).intValue() - 1);
     }
     
     @Test
-    public void assertReadStringLenenc() {
+    void assertReadStringLenenc() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringLenenc(), is(""));
     }
     
     @Test
-    public void assertReadStringLenencByBytes() {
+    void assertReadStringLenencByBytes() {
         when(byteBuf.readUnsignedByte()).thenReturn((short) 0);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringLenencByBytes(), is(new byte[]{}));
     }
     
     @Test
-    public void assertWriteStringLenencWithEmpty() {
+    void assertWriteStringLenencWithEmpty() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringLenenc("");
         verify(byteBuf).writeByte(0);
     }
     
     @Test
-    public void assertWriteBytesLenenc() {
+    void assertWriteBytesLenenc() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeBytesLenenc("value".getBytes());
         verify(byteBuf).writeByte(5);
         verify(byteBuf).writeBytes("value".getBytes());
     }
     
     @Test
-    public void assertWriteBytesLenencWithEmpty() {
+    void assertWriteBytesLenencWithEmpty() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeBytesLenenc("".getBytes());
         verify(byteBuf).writeByte(0);
     }
     
     @Test
-    public void assertWriteStringLenenc() {
+    void assertWriteStringLenenc() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringLenenc("value");
         verify(byteBuf).writeByte(5);
         verify(byteBuf).writeBytes("value".getBytes());
     }
     
     @Test
-    public void assertReadStringFix() {
+    void assertReadStringFix() {
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringFix(0), is(""));
     }
     
     @Test
-    public void assertReadStringFixByBytes() {
+    void assertReadStringFixByBytes() {
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringFixByBytes(0), is(new byte[]{}));
     }
     
     @Test
-    public void assertWriteStringFix() {
+    void assertWriteStringFix() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringFix("value");
         verify(byteBuf).writeBytes("value".getBytes());
     }
     
     @Test
-    public void assertWriteBytes() {
+    void assertWriteBytes() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeBytes("value".getBytes());
         verify(byteBuf).writeBytes("value".getBytes());
     }
     
     @Test
-    public void assertReadStringVar() {
+    void assertReadStringVar() {
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringVar(), is(""));
     }
     
     @Test
-    public void assertWriteStringVar() {
+    void assertWriteStringVar() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringVar("");
     }
     
     @Test
-    public void assertReadStringNul() {
+    void assertReadStringNul() {
         when(byteBuf.bytesBefore((byte) 0)).thenReturn(0);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringNul(), is(""));
         verify(byteBuf).skipBytes(1);
     }
     
     @Test
-    public void assertReadStringNulByBytes() {
+    void assertReadStringNulByBytes() {
         when(byteBuf.bytesBefore((byte) 0)).thenReturn(0);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringNulByBytes(), is(new byte[]{}));
         verify(byteBuf).skipBytes(1);
     }
     
     @Test
-    public void assertWriteStringNul() {
+    void assertWriteStringNul() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringNul("value");
         verify(byteBuf).writeBytes("value".getBytes());
         verify(byteBuf).writeByte(0);
     }
     
     @Test
-    public void assertReadStringEOF() {
+    void assertReadStringEOF() {
         when(byteBuf.readableBytes()).thenReturn(0);
         assertThat(new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).readStringEOF(), is(""));
     }
     
     @Test
-    public void assertWriteStringEOF() {
+    void assertWriteStringEOF() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringEOF("value");
         verify(byteBuf).writeBytes("value".getBytes());
     }
     
     @Test
-    public void assertSkipReserved() {
+    void assertSkipReserved() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).skipReserved(10);
         verify(byteBuf).skipBytes(10);
     }
     
     @Test
-    public void assertWriteReserved() {
+    void assertWriteReserved() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeReserved(10);
         verify(byteBuf).writeZero(10);
     }
     
     @Test
-    public void assertClose() {
+    void assertClose() {
         new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).close();
         verify(byteBuf).release();
     }
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
index 6c558edcd9f..c3d7e9860ca 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/codec/OpenGaussPacketCodecEngineTest.java
@@ -49,7 +49,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class OpenGaussPacketCodecEngineTest {
+class OpenGaussPacketCodecEngineTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ChannelHandlerContext context;
@@ -58,22 +58,22 @@ public final class OpenGaussPacketCodecEngineTest {
     private ByteBuf byteBuf;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         when(context.channel().attr(AttributeKey.<Charset>valueOf(Charset.class.getName())).get()).thenReturn(StandardCharsets.UTF_8);
     }
     
     @Test
-    public void assertIsValidHeader() {
+    void assertIsValidHeader() {
         assertTrue(new OpenGaussPacketCodecEngine().isValidHeader(50));
     }
     
     @Test
-    public void assertIsInvalidHeader() {
+    void assertIsInvalidHeader() {
         assertTrue(new OpenGaussPacketCodecEngine().isValidHeader(4));
     }
     
     @Test
-    public void assertDecode() {
+    void assertDecode() {
         when(byteBuf.readableBytes()).thenReturn(51, 47, 0);
         List<Object> out = new LinkedList<>();
         new OpenGaussPacketCodecEngine().decode(context, byteBuf, out);
@@ -81,21 +81,21 @@ public final class OpenGaussPacketCodecEngineTest {
     }
     
     @Test
-    public void assertDecodeWithStickyPacket() {
+    void assertDecodeWithStickyPacket() {
         List<Object> out = new LinkedList<>();
         new OpenGaussPacketCodecEngine().decode(context, byteBuf, out);
         assertTrue(out.isEmpty());
     }
     
     @Test
-    public void assertEncodePostgreSQLPacket() {
+    void assertEncodePostgreSQLPacket() {
         PostgreSQLPacket packet = mock(PostgreSQLPacket.class);
         new OpenGaussPacketCodecEngine().encode(context, packet, byteBuf);
         verify(packet).write(any(PostgreSQLPacketPayload.class));
     }
     
     @Test
-    public void assertEncodePostgreSQLIdentifierPacket() {
+    void assertEncodePostgreSQLIdentifierPacket() {
         PostgreSQLIdentifierPacket packet = mock(PostgreSQLIdentifierPacket.class);
         when(packet.getIdentifier()).thenReturn(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST);
         when(byteBuf.readableBytes()).thenReturn(9);
@@ -107,7 +107,7 @@ public final class OpenGaussPacketCodecEngineTest {
     }
     
     @Test
-    public void assertEncodeOccursException() {
+    void assertEncodeOccursException() {
         PostgreSQLPacket packet = mock(PostgreSQLPacket.class);
         RuntimeException ex = mock(RuntimeException.class);
         when(ex.getMessage()).thenReturn("Error");
@@ -120,7 +120,7 @@ public final class OpenGaussPacketCodecEngineTest {
     }
     
     @Test
-    public void assertCreatePacketPayload() {
+    void assertCreatePacketPayload() {
         assertThat(new OpenGaussPacketCodecEngine().createPacketPayload(byteBuf, StandardCharsets.UTF_8).getByteBuf(), is(byteBuf));
     }
 }
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
index bdf8a3c79b7..beda7835452 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationHexDataTest.java
@@ -22,10 +22,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class OpenGaussAuthenticationHexDataTest {
+class OpenGaussAuthenticationHexDataTest {
     
     @Test
-    public void assertNew() {
+    void assertNew() {
         OpenGaussAuthenticationHexData actual = new OpenGaussAuthenticationHexData();
         assertThat(actual.getSalt().length(), is(64));
         assertThat(actual.getNonce().length(), is(8));
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
index f34546036b0..13b89980551 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSCRAMSha256PacketTest.java
@@ -26,12 +26,12 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-public final class OpenGaussAuthenticationSCRAMSha256PacketTest {
+class OpenGaussAuthenticationSCRAMSha256PacketTest {
     
     private final OpenGaussAuthenticationHexData authHexData = new OpenGaussAuthenticationHexData();
     
     @Test
-    public void assertWriteProtocol300Packet() {
+    void assertWriteProtocol300Packet() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         OpenGaussAuthenticationSCRAMSha256Packet packet = new OpenGaussAuthenticationSCRAMSha256Packet(OpenGaussProtocolVersion.PROTOCOL_350.getVersion() - 1, 2048, authHexData, "");
         packet.write(payload);
@@ -43,7 +43,7 @@ public final class OpenGaussAuthenticationSCRAMSha256PacketTest {
     }
     
     @Test
-    public void assertWriteProtocol350Packet() {
+    void assertWriteProtocol350Packet() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         OpenGaussAuthenticationSCRAMSha256Packet packet = new OpenGaussAuthenticationSCRAMSha256Packet(OpenGaussProtocolVersion.PROTOCOL_350.getVersion(), 2048, authHexData, "");
         packet.write(payload);
@@ -55,7 +55,7 @@ public final class OpenGaussAuthenticationSCRAMSha256PacketTest {
     }
     
     @Test
-    public void assertWriteProtocol351Packet() {
+    void assertWriteProtocol351Packet() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         OpenGaussAuthenticationSCRAMSha256Packet packet = new OpenGaussAuthenticationSCRAMSha256Packet(OpenGaussProtocolVersion.PROTOCOL_351.getVersion(), 10000, authHexData, "");
         packet.write(payload);
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
index 55b956457a1..c7bb811dbc4 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
@@ -34,19 +34,19 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class OpenGaussCommandPacketFactoryTest {
+class OpenGaussCommandPacketFactoryTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewOpenGaussComBatchBindPacket() {
+    void assertNewOpenGaussComBatchBindPacket() {
         when(payload.getByteBuf()).thenReturn(mock(ByteBuf.class));
         assertThat(OpenGaussCommandPacketFactory.newInstance(OpenGaussCommandPacketType.BATCH_BIND_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewPostgreSQLPacket() {
+    void assertNewPostgreSQLPacket() {
         assertThat(OpenGaussCommandPacketFactory.newInstance(mock(PostgreSQLCommandPacketType.class), payload), instanceOf(PostgreSQLCommandPacket.class));
     }
 }
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
index 0f33b0fc942..576fac3ea9c 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/OpenGaussCommandPacketTypeTest.java
@@ -25,16 +25,16 @@ import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class OpenGaussCommandPacketTypeTest {
+class OpenGaussCommandPacketTypeTest {
     
     @Test
-    public void assertValueOfBatchBindCommand() {
+    void assertValueOfBatchBindCommand() {
         CommandPacketType actual = OpenGaussCommandPacketType.valueOf('U');
         assertThat(actual, is(OpenGaussCommandPacketType.BATCH_BIND_COMMAND));
     }
     
     @Test
-    public void assertValueOfPostgreSQLCommand() {
+    void assertValueOfPostgreSQLCommand() {
         CommandPacketType actual = OpenGaussCommandPacketType.valueOf('Q');
         assertThat(actual, instanceOf(PostgreSQLCommandPacketType.class));
     }
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
index 20c74e8830e..1e60d972c23 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacketTest.java
@@ -27,10 +27,10 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 
-public final class OpenGaussErrorResponsePacketTest {
+class OpenGaussErrorResponsePacketTest {
     
     @Test
-    public void assertWritePacketFromServerErrorMessage() {
+    void assertWritePacketFromServerErrorMessage() {
         String encodedMessage = "SFATAL\0C3D000\0Mdatabase \"test\" does not exist\0c-1\0Ddetail\0Hhint\0P1\0p2\0qinternal query\0Wwhere\0Ffile\0L3\0Rroutine\0a0.0.0.0:1";
         OpenGaussErrorResponsePacket packet = new OpenGaussErrorResponsePacket(new ServerErrorMessage(encodedMessage));
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
@@ -66,7 +66,7 @@ public final class OpenGaussErrorResponsePacketTest {
     }
     
     @Test
-    public void assertWritePacketFromSeverityAndMessage() {
+    void assertWritePacketFromSeverityAndMessage() {
         OpenGaussErrorResponsePacket packet = new OpenGaussErrorResponsePacket("FATAL", "3D000", "database \"test\" does not exist");
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         packet.write(payload);
diff --git a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/query/extended/bind/OpenGaussComBatchBindPacketTest.java b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/query/extended/bind/OpenGaussComBatchBindPacketTest.java
index 8cae349ac88..ee9890f6743 100644
--- a/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/query/extended/bind/OpenGaussComBatchBindPacketTest.java
+++ b/db-protocol/opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/command/query/extended/bind/OpenGaussComBatchBindPacketTest.java
@@ -30,7 +30,7 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class OpenGaussComBatchBindPacketTest {
+class OpenGaussComBatchBindPacketTest {
     
     private static final byte[] BATCH_BIND_MESSAGE_BYTES = {
             'U', 0x00, 0x00, 0x00, 0x55, 0x00, 0x00, 0x00,
@@ -47,7 +47,7 @@ public final class OpenGaussComBatchBindPacketTest {
     };
     
     @Test
-    public void assertConstructOpenGaussComBatchBindPacket() {
+    void assertConstructOpenGaussComBatchBindPacket() {
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(BATCH_BIND_MESSAGE_BYTES), StandardCharsets.UTF_8);
         assertThat(payload.readInt1(), is((int) 'U'));
         OpenGaussComBatchBindPacket actual = new OpenGaussComBatchBindPacket(payload);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
index 7d1b0c39877..d966914e6fe 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/codec/PostgreSQLPacketCodecEngineTest.java
@@ -49,7 +49,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class PostgreSQLPacketCodecEngineTest {
+class PostgreSQLPacketCodecEngineTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ChannelHandlerContext context;
@@ -58,22 +58,22 @@ public final class PostgreSQLPacketCodecEngineTest {
     private ByteBuf byteBuf;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         when(context.channel().attr(AttributeKey.<Charset>valueOf(Charset.class.getName())).get()).thenReturn(StandardCharsets.UTF_8);
     }
     
     @Test
-    public void assertIsValidHeader() {
+    void assertIsValidHeader() {
         assertTrue(new PostgreSQLPacketCodecEngine().isValidHeader(50));
     }
     
     @Test
-    public void assertIsInvalidHeader() {
+    void assertIsInvalidHeader() {
         assertTrue(new PostgreSQLPacketCodecEngine().isValidHeader(4));
     }
     
     @Test
-    public void assertDecode() {
+    void assertDecode() {
         when(byteBuf.readableBytes()).thenReturn(51, 47, 0);
         List<Object> out = new LinkedList<>();
         new PostgreSQLPacketCodecEngine().decode(context, byteBuf, out);
@@ -81,21 +81,21 @@ public final class PostgreSQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertDecodeWithStickyPacket() {
+    void assertDecodeWithStickyPacket() {
         List<Object> out = new LinkedList<>();
         new PostgreSQLPacketCodecEngine().decode(context, byteBuf, out);
         assertTrue(out.isEmpty());
     }
     
     @Test
-    public void assertEncodePostgreSQLPacket() {
+    void assertEncodePostgreSQLPacket() {
         PostgreSQLPacket packet = mock(PostgreSQLPacket.class);
         new PostgreSQLPacketCodecEngine().encode(context, packet, byteBuf);
         verify(packet).write(any(PostgreSQLPacketPayload.class));
     }
     
     @Test
-    public void assertEncodePostgreSQLIdentifierPacket() {
+    void assertEncodePostgreSQLIdentifierPacket() {
         PostgreSQLIdentifierPacket packet = mock(PostgreSQLIdentifierPacket.class);
         when(packet.getIdentifier()).thenReturn(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST);
         when(byteBuf.readableBytes()).thenReturn(9);
@@ -107,7 +107,7 @@ public final class PostgreSQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertEncodeOccursException() {
+    void assertEncodeOccursException() {
         PostgreSQLPacket packet = mock(PostgreSQLPacket.class);
         RuntimeException ex = mock(RuntimeException.class);
         when(ex.getMessage()).thenReturn("Error");
@@ -120,7 +120,7 @@ public final class PostgreSQLPacketCodecEngineTest {
     }
     
     @Test
-    public void assertCreatePacketPayload() {
+    void assertCreatePacketPayload() {
         assertThat(new PostgreSQLPacketCodecEngine().createPacketPayload(byteBuf, StandardCharsets.UTF_8).getByteBuf(), is(byteBuf));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
index e8054fd739f..7d956919003 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLArrayColumnTypeTest.java
@@ -23,15 +23,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLArrayColumnTypeTest {
+class PostgreSQLArrayColumnTypeTest {
     
     @Test
-    public void assertGetTypeOidSuccess() {
+    void assertGetTypeOidSuccess() {
         assertThat(PostgreSQLArrayColumnType.getTypeOid("_int4"), is(1007));
     }
     
     @Test
-    public void assertGetTypeOidFailed() {
+    void assertGetTypeOidFailed() {
         assertThrows(IllegalArgumentException.class, () -> PostgreSQLArrayColumnType.getTypeOid("not_exist_type"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLServerInfoTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLServerInfoTest.java
index e3da9aaa1cc..0fbe1c79557 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLServerInfoTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/constant/PostgreSQLServerInfoTest.java
@@ -23,17 +23,17 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLServerInfoTest {
+class PostgreSQLServerInfoTest {
     
     @Test
-    public void assertSetServerVersion() {
+    void assertSetServerVersion() {
         CommonConstants.PROXY_VERSION.set("5.0.0");
         PostgreSQLServerInfo.setServerVersion("13.2");
         assertThat(PostgreSQLServerInfo.getServerVersion(), is("13.2-ShardingSphere-Proxy 5.0.0"));
     }
     
     @Test
-    public void assertSetServerVersionForNull() {
+    void assertSetServerVersionForNull() {
         CommonConstants.PROXY_VERSION.set("5.0.0");
         PostgreSQLServerInfo.setServerVersion(null);
         assertThat(PostgreSQLServerInfo.getServerVersion(), is("12.3-ShardingSphere-Proxy 5.0.0"));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactoryTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactoryTest.java
index 981f9f65403..4cacc81957a 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactoryTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactoryTest.java
@@ -33,49 +33,49 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLCommandPacketFactoryTest {
+class PostgreSQLCommandPacketFactoryTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstanceWithQueryComPacket() {
+    void assertNewInstanceWithQueryComPacket() {
         when(payload.getByteBuf()).thenReturn(mock(ByteBuf.class));
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.SIMPLE_QUERY, payload), instanceOf(PostgreSQLComQueryPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithParseComPacket() {
+    void assertNewInstanceWithParseComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.PARSE_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithBindComPacket() {
+    void assertNewInstanceWithBindComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.BIND_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithDescribeComPacket() {
+    void assertNewInstanceWithDescribeComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.DESCRIBE_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithExecuteComPacket() {
+    void assertNewInstanceWithExecuteComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.EXECUTE_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithSyncComPacket() {
+    void assertNewInstanceWithSyncComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.SYNC_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithCloseComPacket() {
+    void assertNewInstanceWithCloseComPacket() {
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.CLOSE_COMMAND, payload), instanceOf(PostgreSQLAggregatedCommandPacket.class));
     }
     
     @Test
-    public void assertNewInstanceWithTerminationComPacket() {
+    void assertNewInstanceWithTerminationComPacket() {
         when(payload.getByteBuf()).thenReturn(mock(ByteBuf.class));
         assertThat(PostgreSQLCommandPacketFactory.newInstance(PostgreSQLCommandPacketType.TERMINATE, payload), instanceOf(PostgreSQLComTerminationPacket.class));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeLoaderTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeLoaderTest.java
index 6c5d93b03ba..fb6d522522c 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeLoaderTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeLoaderTest.java
@@ -29,17 +29,17 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLCommandPacketTypeLoaderTest {
+class PostgreSQLCommandPacketTypeLoaderTest {
     
     @Test
-    public void assertGetCommandPacketType() {
+    void assertGetCommandPacketType() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class, RETURNS_DEEP_STUBS);
         when(payload.getByteBuf().getByte(anyInt())).thenReturn((byte) 'Q');
         assertThat(PostgreSQLCommandPacketTypeLoader.getCommandPacketType(payload), is(PostgreSQLCommandPacketType.SIMPLE_QUERY));
     }
     
     @Test
-    public void assertGetCommandPacketTypeError() {
+    void assertGetCommandPacketTypeError() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class, RETURNS_DEEP_STUBS);
         when(payload.getByteBuf().getByte(anyInt())).thenReturn((byte) 'a');
         assertThrows(PostgreSQLProtocolException.class, () -> PostgreSQLCommandPacketTypeLoader.getCommandPacketType(payload));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeTest.java
index b2b4e15feb9..42cd7bd79cc 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/PostgreSQLCommandPacketTypeTest.java
@@ -23,15 +23,15 @@ import org.junit.jupiter.api.Test;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class PostgreSQLCommandPacketTypeTest {
+class PostgreSQLCommandPacketTypeTest {
     
     @Test
-    public void assertValueOfUnknownCommandPacketType() {
+    void assertValueOfUnknownCommandPacketType() {
         assertThrows(PostgreSQLProtocolException.class, () -> PostgreSQLCommandPacketType.valueOf(-1));
     }
     
     @Test
-    public void assertValueOfExtendedProtocolCommandPacketType() {
+    void assertValueOfExtendedProtocolCommandPacketType() {
         assertTrue(PostgreSQLCommandPacketType.isExtendedProtocolPacketType(PostgreSQLCommandPacketType.PARSE_COMMAND));
         assertTrue(PostgreSQLCommandPacketType.isExtendedProtocolPacketType(PostgreSQLCommandPacketType.BIND_COMMAND));
         assertTrue(PostgreSQLCommandPacketType.isExtendedProtocolPacketType(PostgreSQLCommandPacketType.DESCRIBE_COMMAND));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
index aba71edcf4f..547840061a1 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/admin/PostgreSQLUnsupportedCommandPacketTest.java
@@ -31,20 +31,20 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLUnsupportedCommandPacketTest {
+class PostgreSQLUnsupportedCommandPacketTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         PostgreSQLUnsupportedCommandPacket rowPacket = new PostgreSQLUnsupportedCommandPacket(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST);
         rowPacket.write(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8));
         assertThat(byteBuf.writerIndex(), is(0));
     }
     
     @Test
-    public void assertGetMessageType() {
+    void assertGetMessageType() {
         PostgreSQLUnsupportedCommandPacket rowPacket = new PostgreSQLUnsupportedCommandPacket(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST);
         assertThat(rowPacket.getIdentifier(), is(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
index 48c9bd31d1e..4feec4b001f 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLColumnDescriptionTest.java
@@ -24,22 +24,22 @@ import java.sql.Types;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLColumnDescriptionTest {
+class PostgreSQLColumnDescriptionTest {
     
     @Test
-    public void assertIntegerTypeOid() {
+    void assertIntegerTypeOid() {
         PostgreSQLColumnDescription description = new PostgreSQLColumnDescription("age", 1, Types.INTEGER, 4, null);
         assertThat(description.getTypeOID(), is(23));
     }
     
     @Test
-    public void assertStringTypeOid() {
+    void assertStringTypeOid() {
         PostgreSQLColumnDescription description = new PostgreSQLColumnDescription("name", 1, Types.VARCHAR, 4, null);
         assertThat(description.getTypeOID(), is(1043));
     }
     
     @Test
-    public void assertIntegerArrayTypeOid() {
+    void assertIntegerArrayTypeOid() {
         PostgreSQLColumnDescription description = new PostgreSQLColumnDescription("ages", 2, Types.ARRAY, 12, "_int4");
         assertThat(description.getTypeOID(), is(1007));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
index 786606dc155..74bd811e13f 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLDataRowPacketTest.java
@@ -44,7 +44,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class PostgreSQLDataRowPacketTest {
+class PostgreSQLDataRowPacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
@@ -53,19 +53,19 @@ public final class PostgreSQLDataRowPacketTest {
     private SQLXML sqlxml;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         when(payload.getCharset()).thenReturn(StandardCharsets.UTF_8);
     }
     
     @Test
-    public void assertWriteWithNull() {
+    void assertWriteWithNull() {
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(null));
         actual.write(payload);
         verify(payload).writeInt4(0xFFFFFFFF);
     }
     
     @Test
-    public void assertWriteWithBytes() {
+    void assertWriteWithBytes() {
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(new byte[]{'a'}));
         actual.write(payload);
         verify(payload).writeInt4(new byte[]{'a'}.length);
@@ -73,7 +73,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertWriteWithSQLXML() throws SQLException {
+    void assertWriteWithSQLXML() throws SQLException {
         when(sqlxml.getString()).thenReturn("value");
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(sqlxml));
         actual.write(payload);
@@ -83,7 +83,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertWriteWithString() {
+    void assertWriteWithString() {
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList("value"));
         assertThat(actual.getData(), is(Collections.singletonList("value")));
         actual.write(payload);
@@ -93,7 +93,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertWriteWithSQLXML4Error() throws SQLException {
+    void assertWriteWithSQLXML4Error() throws SQLException {
         when(sqlxml.getString()).thenThrow(new SQLException("mock"));
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(sqlxml));
         assertThrows(RuntimeException.class, () -> actual.write(payload));
@@ -101,7 +101,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertWriteBinaryNull() {
+    void assertWriteBinaryNull() {
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(new BinaryCell(PostgreSQLColumnType.POSTGRESQL_TYPE_INT4, null)));
         actual.write(payload);
         verify(payload).writeInt2(1);
@@ -109,7 +109,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertWriteBinaryInt4() {
+    void assertWriteBinaryInt4() {
         final int value = 12345678;
         PostgreSQLDataRowPacket actual = new PostgreSQLDataRowPacket(Collections.singletonList(new BinaryCell(PostgreSQLColumnType.POSTGRESQL_TYPE_INT4, value)));
         actual.write(payload);
@@ -119,7 +119,7 @@ public final class PostgreSQLDataRowPacketTest {
     }
     
     @Test
-    public void assertGetIdentifier() {
+    void assertGetIdentifier() {
         assertThat(new PostgreSQLDataRowPacket(Collections.emptyList()).getIdentifier(), is(PostgreSQLMessagePacketType.DATA_ROW));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
index 795f7a58ceb..73a6204939e 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLEmptyQueryResponsePacketTest.java
@@ -24,10 +24,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLEmptyQueryResponsePacketTest {
+class PostgreSQLEmptyQueryResponsePacketTest {
     
     @Test
-    public void assertIdentifier() {
+    void assertIdentifier() {
         PostgreSQLIdentifierTag actual = new PostgreSQLEmptyQueryResponsePacket().getIdentifier();
         assertThat(actual, is(PostgreSQLMessagePacketType.EMPTY_QUERY_RESPONSE));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLNoDataPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLNoDataPacketTest.java
index 1b215ee3955..aa2001a69a3 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLNoDataPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLNoDataPacketTest.java
@@ -25,10 +25,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLNoDataPacketTest {
+class PostgreSQLNoDataPacketTest {
     
     @Test
-    public void assertGetInstanceAndWrite() {
+    void assertGetInstanceAndWrite() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         ByteBuf byteBuf = mock(ByteBuf.class);
         when(payload.getByteBuf()).thenReturn(byteBuf);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
index 7049d309d3e..35f98210043 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/PostgreSQLRowDescriptionPacketTest.java
@@ -33,13 +33,13 @@ import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLRowDescriptionPacketTest {
+class PostgreSQLRowDescriptionPacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         PostgreSQLColumnDescription description = new PostgreSQLColumnDescription("name", 1, Types.VARCHAR, 4, null);
         PostgreSQLRowDescriptionPacket packet = new PostgreSQLRowDescriptionPacket(Collections.singletonList(description));
         packet.write(payload);
@@ -54,7 +54,7 @@ public final class PostgreSQLRowDescriptionPacketTest {
     }
     
     @Test
-    public void getMessageType() {
+    void getMessageType() {
         PostgreSQLRowDescriptionPacket packet = new PostgreSQLRowDescriptionPacket(Collections.emptyList());
         assertThat(packet.getIdentifier(), is(PostgreSQLMessagePacketType.ROW_DESCRIPTION));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedResponsesPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedResponsesPacketTest.java
index ed12d2debbe..479a247d9b5 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedResponsesPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedResponsesPacketTest.java
@@ -30,10 +30,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLAggregatedResponsesPacketTest {
+class PostgreSQLAggregatedResponsesPacketTest {
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         PostgreSQLIdentifierPacket identifierPacket = mock(PostgreSQLIdentifierPacket.class);
         when(identifierPacket.getIdentifier()).thenReturn(PostgreSQLMessagePacketType.READY_FOR_QUERY);
         PostgreSQLPacket nonIdentifierPacket = mock(PostgreSQLPacket.class);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
index ccc12f38041..fed1a17cba5 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnTypeTest.java
@@ -26,38 +26,38 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLColumnTypeTest {
+class PostgreSQLColumnTypeTest {
     
     @Test
-    public void assertValueOfJDBCType() {
+    void assertValueOfJDBCType() {
         PostgreSQLColumnType sqlColumnType = PostgreSQLColumnType.valueOfJDBCType(Types.BIGINT);
         assertThat(sqlColumnType, is(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8));
     }
     
     @Test
-    public void assertValueOfJDBCTypeForBooleanType() {
+    void assertValueOfJDBCTypeForBooleanType() {
         PostgreSQLColumnType sqlColumnType = PostgreSQLColumnType.valueOfJDBCType(Types.BOOLEAN);
         assertThat(sqlColumnType, is(PostgreSQLColumnType.POSTGRESQL_TYPE_BOOL));
     }
     
     @Test
-    public void assertValueOfJDBCTypeExThrown() {
+    void assertValueOfJDBCTypeExThrown() {
         assertThrows(IllegalArgumentException.class, () -> PostgreSQLColumnType.valueOfJDBCType(Types.REF_CURSOR));
     }
     
     @Test
-    public void assertValueOf() {
+    void assertValueOf() {
         PostgreSQLColumnType sqlColumnType = PostgreSQLColumnType.valueOf(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8.getValue());
         assertThat(sqlColumnType, is(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8));
     }
     
     @Test
-    public void assertValueOfExThrown() {
+    void assertValueOfExThrown() {
         assertThrows(PostgreSQLProtocolException.class, () -> PostgreSQLColumnType.valueOf(9999));
     }
     
     @Test
-    public void assertGetValue() {
+    void assertGetValue() {
         assertThat(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8.getValue(), is(20));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLBindCompletePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLBindCompletePacketTest.java
index 28f14ef696d..f4f0e37ae45 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLBindCompletePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLBindCompletePacketTest.java
@@ -25,10 +25,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLBindCompletePacketTest {
+class PostgreSQLBindCompletePacketTest {
     
     @Test
-    public void assertGetInstanceAndWrite() {
+    void assertGetInstanceAndWrite() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         ByteBuf byteBuf = mock(ByteBuf.class);
         when(payload.getByteBuf()).thenReturn(byteBuf);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
index 1c6f396dc94..4d446b761ea 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLComBindPacketTest.java
@@ -29,7 +29,7 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class PostgreSQLComBindPacketTest {
+class PostgreSQLComBindPacketTest {
     
     private static final byte[] BIND_MESSAGE_BYTES = {
             0x00, 0x00, 0x00, 0x19, 0x00, 0x53, 0x5f,
@@ -39,7 +39,7 @@ public final class PostgreSQLComBindPacketTest {
     };
     
     @Test
-    public void assertConstructPostgreSQLComBindPacket() {
+    void assertConstructPostgreSQLComBindPacket() {
         PostgreSQLComBindPacket actual = new PostgreSQLComBindPacket(new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(BIND_MESSAGE_BYTES), StandardCharsets.UTF_8));
         assertThat(actual.getPortal(), is(""));
         assertThat(actual.getStatementId(), is("S_1"));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
index 7445b737c62..1317072ce55 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/PostgreSQLTypeUnspecifiedSQLParameterTest.java
@@ -22,10 +22,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLTypeUnspecifiedSQLParameterTest {
+class PostgreSQLTypeUnspecifiedSQLParameterTest {
     
     @Test
-    public void assertToString() {
+    void assertToString() {
         assertThat(new PostgreSQLTypeUnspecifiedSQLParameter("2020-08-23 15:57:03+08").toString(), is("2020-08-23 15:57:03+08"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
index 812981b52e7..06c086715a4 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLArrayParameterDecoderTest.java
@@ -25,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class PostgreSQLArrayParameterDecoderTest {
+class PostgreSQLArrayParameterDecoderTest {
     
     private static final PostgreSQLArrayParameterDecoder DECODER = new PostgreSQLArrayParameterDecoder();
     
@@ -34,7 +34,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     private static final String FLOAT_ARRAY_STR = "{\"11.1\",\"12.1\"}";
     
     @Test
-    public void assertParseInt2ArrayNormalTextMode() {
+    void assertParseInt2ArrayNormalTextMode() {
         short[] result = DECODER.decodeInt2Array(INT_ARRAY_STR.getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(result[0], is((short) 11));
@@ -42,7 +42,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseInt4ArrayNormalTextMode() {
+    void assertParseInt4ArrayNormalTextMode() {
         int[] result = DECODER.decodeInt4Array(INT_ARRAY_STR.getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(result[0], is(11));
@@ -50,7 +50,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseInt8ArrayNormalTextMode() {
+    void assertParseInt8ArrayNormalTextMode() {
         long[] result = DECODER.decodeInt8Array(INT_ARRAY_STR.getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(result[0], is(11L));
@@ -58,7 +58,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseFloat4ArrayNormalTextMode() {
+    void assertParseFloat4ArrayNormalTextMode() {
         float[] result = DECODER.decodeFloat4Array(FLOAT_ARRAY_STR.getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(Float.compare(result[0], 11.1F), is(0));
@@ -66,7 +66,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseFloat8ArrayNormalTextMode() {
+    void assertParseFloat8ArrayNormalTextMode() {
         double[] result = DECODER.decodeFloat8Array(FLOAT_ARRAY_STR.getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(Double.compare(result[0], 11.1D), is(0));
@@ -74,7 +74,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseBoolArrayNormalTextMode() {
+    void assertParseBoolArrayNormalTextMode() {
         boolean[] result = DECODER.decodeBoolArray("{\"true\",\"false\"}".getBytes(), false);
         assertThat(result.length, is(2));
         assertTrue(result[0]);
@@ -82,7 +82,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseStringArrayNormalTextMode() {
+    void assertParseStringArrayNormalTextMode() {
         String[] result = DECODER.decodeStringArray("{\"a\",\"b\"}".getBytes(), false);
         assertThat(result.length, is(2));
         assertThat(result[0], is("a"));
@@ -90,7 +90,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseStringArrayWithEscapeTextMode() {
+    void assertParseStringArrayWithEscapeTextMode() {
         String[] result = DECODER.decodeStringArray("{\"\\\"a\",\"\\\\b\",\"c\"}".getBytes(), false);
         assertThat(result.length, is(3));
         assertThat(result[0], is("\"a"));
@@ -99,7 +99,7 @@ public final class PostgreSQLArrayParameterDecoderTest {
     }
     
     @Test
-    public void assertParseStringArrayWithNullTextMode() {
+    void assertParseStringArrayWithNullTextMode() {
         String[] result = DECODER.decodeStringArray("{\"a\",\"b\",NULL}".getBytes(), false);
         assertThat(result.length, is(3));
         assertThat(result[0], is("a"));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactoryTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactoryTest.java
index 40f1be6bd7a..1940b26c3ab 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactoryTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactoryTest.java
@@ -24,70 +24,70 @@ import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLBinaryProtocolValueFactoryTest {
+class PostgreSQLBinaryProtocolValueFactoryTest {
     
     @Test
-    public void assertGetStringBinaryProtocolValueByVarchar() {
+    void assertGetStringBinaryProtocolValueByVarchar() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_VARCHAR);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLStringBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetStringBinaryProtocolValueByChar() {
+    void assertGetStringBinaryProtocolValueByChar() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_CHAR);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLStringBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetInt8BinaryProtocolValue() {
+    void assertGetInt8BinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_INT8);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLInt8BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetInt4BinaryProtocolValue() {
+    void assertGetInt4BinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_INT4);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLInt4BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetInt2BinaryProtocolValue() {
+    void assertGetInt2BinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_INT2);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLInt2BinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetDoubleBinaryProtocolValue() {
+    void assertGetDoubleBinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_FLOAT8);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLDoubleBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetFloatBinaryProtocolValue() {
+    void assertGetFloatBinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_FLOAT4);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLFloatBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetNumericBinaryProtocolValue() {
+    void assertGetNumericBinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_NUMERIC);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLNumericBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetDateBinaryProtocolValue() {
+    void assertGetDateBinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_DATE);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLDateBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetTimeBinaryProtocolValue() {
+    void assertGetTimeBinaryProtocolValue() {
         PostgreSQLBinaryProtocolValue binaryProtocolValue = PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_TIMESTAMP);
         assertThat(binaryProtocolValue, instanceOf(PostgreSQLTimeBinaryProtocolValue.class));
     }
     
     @Test
-    public void assertGetBinaryProtocolValueExThrown() {
+    void assertGetBinaryProtocolValueExThrown() {
         assertThrows(IllegalArgumentException.class, () -> PostgreSQLBinaryProtocolValueFactory.getBinaryProtocolValue(PostgreSQLColumnType.POSTGRESQL_TYPE_XML));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryTimestampUtilsTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryTimestampUtilsTest.java
index 6377675015e..d1a63e33e65 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryTimestampUtilsTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryTimestampUtilsTest.java
@@ -25,16 +25,16 @@ import java.util.TimeZone;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLBinaryTimestampUtilsTest {
+class PostgreSQLBinaryTimestampUtilsTest {
     
     @Test
-    public void assertToPostgreSQLTimeWithoutTimeZone() {
+    void assertToPostgreSQLTimeWithoutTimeZone() {
         long expected = 688123357272000L + TimeZone.getDefault().getRawOffset() * 1000L;
         assertThat(PostgreSQLBinaryTimestampUtils.toPostgreSQLTime(new Timestamp(1634808157272L), false), is(expected));
     }
     
     @Test
-    public void assertToPostgreSQLTimeWithTimeZone() {
+    void assertToPostgreSQLTimeWithTimeZone() {
         assertThat(PostgreSQLBinaryTimestampUtils.toPostgreSQLTime(new Timestamp(1634808157272L), true), is(688123357272000L));
         assertThat(PostgreSQLBinaryTimestampUtils.toPostgreSQLTime(new Timestamp(-15165977600000L), true), is(-16113440000000000L));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
index e69e287666f..146ddf9c495 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBoolArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLBoolArrayBinaryProtocolValueTest {
+class PostgreSQLBoolArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLBoolArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"true\",\"false\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLBoolArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteConverterTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteConverterTest.java
index 91ab1d22fbc..6f21affec92 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteConverterTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteConverterTest.java
@@ -29,11 +29,11 @@ import java.util.stream.Stream;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLByteConverterTest {
+class PostgreSQLByteConverterTest {
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertNumeric(final BigDecimal input, final byte[] expected) {
+    void assertNumeric(final BigDecimal input, final byte[] expected) {
         assertThat(PostgreSQLByteConverter.numeric(input), is(expected));
     }
     
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
index 0c11cb98792..a6eca9939ff 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLByteaBinaryProtocolValueTest.java
@@ -27,22 +27,22 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLByteaBinaryProtocolValueTest {
+class PostgreSQLByteaBinaryProtocolValueTest {
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLByteaBinaryProtocolValue().getColumnLength(new byte[10]), is(10));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         ByteBuf byteBuf = Unpooled.wrappedBuffer("value".getBytes(StandardCharsets.UTF_8));
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         assertThat(new PostgreSQLByteaBinaryProtocolValue().read(payload, 5), is("value".getBytes(StandardCharsets.UTF_8)));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         byte[] bytes = new byte[5];
         ByteBuf byteBuf = Unpooled.wrappedBuffer(bytes).writerIndex(0);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
index e07b687165d..a4900cc7cd3 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDateBinaryProtocolValueTest.java
@@ -32,15 +32,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLDateBinaryProtocolValueTest {
+class PostgreSQLDateBinaryProtocolValueTest {
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLDateBinaryProtocolValue().getColumnLength(""), is(4));
     }
     
     @Test
-    public void assertRead() throws PSQLException {
+    void assertRead() throws PSQLException {
         byte[] payloadBytes = new byte[4];
         Date expected = Date.valueOf("2023-01-30");
         new TimestampUtils(false, null).toBinDate(null, payloadBytes, expected);
@@ -49,7 +49,7 @@ public final class PostgreSQLDateBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() throws PSQLException {
+    void assertWrite() throws PSQLException {
         byte[] actual = new byte[4];
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(actual).writerIndex(0), StandardCharsets.UTF_8);
         Date input = Date.valueOf("2023-01-30");
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
index e9b0a34c30f..b1c1f3ee88c 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLDoubleBinaryProtocolValueTest.java
@@ -32,24 +32,24 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLDoubleBinaryProtocolValueTest {
+class PostgreSQLDoubleBinaryProtocolValueTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLDoubleBinaryProtocolValue().getColumnLength(""), is(8));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(byteBuf.readDouble()).thenReturn(1D);
         assertThat(new PostgreSQLDoubleBinaryProtocolValue().read(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 8), is(1D));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new PostgreSQLDoubleBinaryProtocolValue().write(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1D);
         verify(byteBuf).writeDouble(1.0d);
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
index 5ceb520261f..22d15714442 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat4ArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLFloat4ArrayBinaryProtocolValueTest {
+class PostgreSQLFloat4ArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLFloat4ArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"11.1\",\"12.1\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLFloat4ArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
index 5ac07599aea..016bbf32484 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloat8ArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLFloat8ArrayBinaryProtocolValueTest {
+class PostgreSQLFloat8ArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLFloat8ArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"11.1\",\"12.1\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLFloat8ArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
index 81eb31e557b..3ab932111ea 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLFloatBinaryProtocolValueTest.java
@@ -32,24 +32,24 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLFloatBinaryProtocolValueTest {
+class PostgreSQLFloatBinaryProtocolValueTest {
     
     @Mock
     private ByteBuf byteBuf;
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLFloatBinaryProtocolValue().getColumnLength(""), is(4));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         when(byteBuf.readFloat()).thenReturn(1F);
         assertThat(new PostgreSQLFloatBinaryProtocolValue().read(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 4), is(1.0F));
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new PostgreSQLFloatBinaryProtocolValue().write(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1F);
         verify(byteBuf).writeFloat(1.0f);
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
index 3eea3a674cc..9fe4758570c 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2ArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLInt2ArrayBinaryProtocolValueTest {
+class PostgreSQLInt2ArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLInt2ArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"11\",\"12\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLInt2ArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
index b780d392119..2d2da3201cc 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt2BinaryProtocolValueTest.java
@@ -26,15 +26,15 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLInt2BinaryProtocolValueTest {
+class PostgreSQLInt2BinaryProtocolValueTest {
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLInt2BinaryProtocolValue().getColumnLength(null), is(2));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         byte[] data = {(byte) 0x80, (byte) 0x00, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F, (byte) 0xFF};
         PostgreSQLInt2BinaryProtocolValue actual = new PostgreSQLInt2BinaryProtocolValue();
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(data), StandardCharsets.UTF_8);
@@ -44,7 +44,7 @@ public final class PostgreSQLInt2BinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         byte[] actualData = new byte[6];
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(actualData).writerIndex(0), StandardCharsets.UTF_8);
         PostgreSQLInt2BinaryProtocolValue actual = new PostgreSQLInt2BinaryProtocolValue();
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
index bf95cc028ce..2425a1a8939 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4ArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLInt4ArrayBinaryProtocolValueTest {
+class PostgreSQLInt4ArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLInt4ArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"11\",\"12\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLInt4ArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
index b0ddd4376d2..2f549f8cafd 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt4BinaryProtocolValueTest.java
@@ -29,13 +29,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLInt4BinaryProtocolValueTest {
+class PostgreSQLInt4BinaryProtocolValueTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         PostgreSQLInt4BinaryProtocolValue actual = new PostgreSQLInt4BinaryProtocolValue();
         assertThat(actual.getColumnLength(null), is(4));
         when(payload.readInt4()).thenReturn(1);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
index 36569fc073b..71315bb3ea3 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8ArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLInt8ArrayBinaryProtocolValueTest {
+class PostgreSQLInt8ArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLInt8ArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"11\",\"12\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLInt8ArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
index a50416d4752..e244e4a157d 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLInt8BinaryProtocolValueTest.java
@@ -30,15 +30,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLInt8BinaryProtocolValueTest {
+class PostgreSQLInt8BinaryProtocolValueTest {
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThat(new PostgreSQLInt8BinaryProtocolValue().getColumnLength(1L), is(8));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         byte[] input = new byte[]{
                 (byte) 0x80, 0, 0, 0, 0, 0, 0, 0,
                 (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
@@ -52,7 +52,7 @@ public final class PostgreSQLInt8BinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         byte[] actual = new byte[24];
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(actual).writerIndex(0), StandardCharsets.UTF_8);
         new PostgreSQLInt8BinaryProtocolValue().write(payload, -1);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
index 6a00ee7b277..c212447b373 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLNumericBinaryProtocolValueTest.java
@@ -33,18 +33,18 @@ import java.util.stream.Stream;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLNumericBinaryProtocolValueTest {
+class PostgreSQLNumericBinaryProtocolValueTest {
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertGetColumnLength(final BigDecimal bigDecimal, final byte[] expected) {
+    void assertGetColumnLength(final BigDecimal bigDecimal, final byte[] expected) {
         PostgreSQLNumericBinaryProtocolValue binaryProtocolValue = new PostgreSQLNumericBinaryProtocolValue();
         assertThat(binaryProtocolValue.getColumnLength(bigDecimal), is(expected.length));
     }
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertRead(final BigDecimal bigDecimal, final byte[] expected) {
+    void assertRead(final BigDecimal bigDecimal, final byte[] expected) {
         PostgreSQLNumericBinaryProtocolValue binaryProtocolValue = new PostgreSQLNumericBinaryProtocolValue();
         int expectedLength = expected.length;
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -57,7 +57,7 @@ public final class PostgreSQLNumericBinaryProtocolValueTest {
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertWrite(final BigDecimal bigDecimal, final byte[] expected) {
+    void assertWrite(final BigDecimal bigDecimal, final byte[] expected) {
         PostgreSQLNumericBinaryProtocolValue binaryProtocolValue = new PostgreSQLNumericBinaryProtocolValue();
         int columnLength = binaryProtocolValue.getColumnLength(bigDecimal);
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(columnLength);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
index a824ad2a16c..fef30763b17 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringArrayBinaryProtocolValueTest.java
@@ -29,19 +29,19 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLStringArrayBinaryProtocolValueTest {
+class PostgreSQLStringArrayBinaryProtocolValueTest {
     
     private PostgreSQLBinaryProtocolValue newInstance() {
         return new PostgreSQLStringArrayBinaryProtocolValue();
     }
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String parameterValue = "{\"a\",\"b\"}";
         int expectedLength = 4 + parameterValue.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLStringArrayBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> newInstance().write(new PostgreSQLPacketPayload(null, StandardCharsets.UTF_8), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
index e9f6a017bd3..a8768573326 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLStringBinaryProtocolValueTest.java
@@ -35,7 +35,7 @@ import static org.mockito.Mockito.doAnswer;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLStringBinaryProtocolValueTest {
+class PostgreSQLStringBinaryProtocolValueTest {
     
     @Mock
     private ByteBuf byteBuf;
@@ -43,12 +43,12 @@ public final class PostgreSQLStringBinaryProtocolValueTest {
     private PostgreSQLPacketPayload payload;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
     }
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         doAnswer((Answer<ByteBuf>) invocation -> {
             ((byte[]) invocation.getArguments()[0])[0] = 'a';
             return byteBuf;
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimeUtilsTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimeUtilsTest.java
index db425b1307b..7a5fee77ff8 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimeUtilsTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimeUtilsTest.java
@@ -29,11 +29,11 @@ import java.util.stream.Stream;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLTextTimeUtilsTest {
+class PostgreSQLTextTimeUtilsTest {
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertParse(final String input, final LocalTime expected) {
+    void assertParse(final String input, final LocalTime expected) {
         assertThat(PostgreSQLTextTimeUtils.parse(input), is(expected));
     }
     
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimestampUtilsTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimestampUtilsTest.java
index c091b134ef5..b8eebcf00f4 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimestampUtilsTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTextTimestampUtilsTest.java
@@ -29,11 +29,11 @@ import java.util.stream.Stream;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLTextTimestampUtilsTest {
+class PostgreSQLTextTimestampUtilsTest {
     
     @ParameterizedTest(name = "{0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertGetLocalDateTimeNoExceptionOccurs(final String input, final Timestamp expected) {
+    void assertGetLocalDateTimeNoExceptionOccurs(final String input, final Timestamp expected) {
         assertThat(PostgreSQLTextTimestampUtils.parse(input), is(expected));
     }
     
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
index 615c95d9281..6e1bc2be18f 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLTimeBinaryProtocolValueTest.java
@@ -31,13 +31,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLTimeBinaryProtocolValueTest {
+class PostgreSQLTimeBinaryProtocolValueTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         PostgreSQLTimeBinaryProtocolValue actual = new PostgreSQLTimeBinaryProtocolValue();
         assertThat(actual.getColumnLength(null), is(8));
         when(payload.readInt8()).thenReturn(1L);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
index b816d0986c1..fd676b7dbc9 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLUnspecifiedBinaryProtocolValueTest.java
@@ -32,15 +32,15 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 
-public final class PostgreSQLUnspecifiedBinaryProtocolValueTest {
+class PostgreSQLUnspecifiedBinaryProtocolValueTest {
     
     @Test
-    public void assertGetColumnLength() {
+    void assertGetColumnLength() {
         assertThrows(UnsupportedSQLOperationException.class, () -> new PostgreSQLUnspecifiedBinaryProtocolValue().getColumnLength("val"));
     }
     
     @Test
-    public void assertRead() {
+    void assertRead() {
         String timestampStr = "2020-08-23 15:57:03+08";
         int expectedLength = 4 + timestampStr.length();
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
@@ -55,7 +55,7 @@ public final class PostgreSQLUnspecifiedBinaryProtocolValueTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         assertThrows(UnsupportedSQLOperationException.class, () -> new PostgreSQLUnspecifiedBinaryProtocolValue().write(mock(PostgreSQLPacketPayload.class), "val"));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLCloseCompletePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLCloseCompletePacketTest.java
index 98e1522d393..b62007c5ed7 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLCloseCompletePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLCloseCompletePacketTest.java
@@ -25,10 +25,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLCloseCompletePacketTest {
+class PostgreSQLCloseCompletePacketTest {
     
     @Test
-    public void assertGetInstanceAndWrite() {
+    void assertGetInstanceAndWrite() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         ByteBuf byteBuf = mock(ByteBuf.class);
         when(payload.getByteBuf()).thenReturn(byteBuf);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
index 29347ae34c6..e1461cacc0b 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/close/PostgreSQLComClosePacketTest.java
@@ -32,13 +32,13 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComClosePacketTest {
+class PostgreSQLComClosePacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertClosePreparedStatement() {
+    void assertClosePreparedStatement() {
         when(payload.readInt1()).thenReturn((int) 'S');
         when(payload.readStringNul()).thenReturn("S_1");
         PostgreSQLComClosePacket actual = new PostgreSQLComClosePacket(payload);
@@ -47,7 +47,7 @@ public final class PostgreSQLComClosePacketTest {
     }
     
     @Test
-    public void assertClosePortal() {
+    void assertClosePortal() {
         when(payload.readInt1()).thenReturn((int) 'P');
         when(payload.readStringNul()).thenReturn("P_1");
         PostgreSQLComClosePacket actual = new PostgreSQLComClosePacket(payload);
@@ -56,14 +56,14 @@ public final class PostgreSQLComClosePacketTest {
     }
     
     @Test
-    public void assertIdentifier() {
+    void assertIdentifier() {
         when(payload.readInt1()).thenReturn((int) 'S');
         PostgreSQLIdentifierTag actual = new PostgreSQLComClosePacket(payload).getIdentifier();
         assertThat(actual, is(PostgreSQLCommandPacketType.CLOSE_COMMAND));
     }
     
     @Test
-    public void assertInvalidType() {
+    void assertInvalidType() {
         assertThrows(PostgreSQLProtocolException.class, () -> new PostgreSQLComClosePacket(payload));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
index 520fe4595a8..732d9a1d760 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/describe/PostgreSQLComDescribePacketTest.java
@@ -29,13 +29,13 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComDescribePacketTest {
+class PostgreSQLComDescribePacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         when(payload.readInt1()).thenReturn((int) 'P');
         when(payload.readStringNul()).thenReturn("P_1");
         PostgreSQLComDescribePacket actual = new PostgreSQLComDescribePacket(payload);
@@ -44,7 +44,7 @@ public final class PostgreSQLComDescribePacketTest {
     }
     
     @Test
-    public void assertIdentifier() {
+    void assertIdentifier() {
         PostgreSQLComDescribePacket actual = new PostgreSQLComDescribePacket(payload);
         assertThat(actual.getIdentifier(), is(PostgreSQLCommandPacketType.DESCRIBE_COMMAND));
     }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
index 46862d953b7..a169e59d4b4 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/execute/PostgreSQLComExecutePacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.atLeast;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComExecutePacketTest {
+class PostgreSQLComExecutePacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         PostgreSQLComExecutePacket actual = new PostgreSQLComExecutePacket(payload);
         verify(payload, atLeast(2)).readInt4();
         verify(payload).readStringNul();
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
index 336e0fb5f66..b9cfd8314f9 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLComParsePacketTest.java
@@ -32,13 +32,13 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComParsePacketTest {
+class PostgreSQLComParsePacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         when(payload.readInt2()).thenReturn(1);
         when(payload.readInt4()).thenReturn(0);
         when(payload.readStringNul()).thenReturn("sql");
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLParseCompletePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLParseCompletePacketTest.java
index 863567198b5..7a49528da38 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLParseCompletePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/parse/PostgreSQLParseCompletePacketTest.java
@@ -25,10 +25,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-public final class PostgreSQLParseCompletePacketTest {
+class PostgreSQLParseCompletePacketTest {
     
     @Test
-    public void assertGetInstanceAndWrite() {
+    void assertGetInstanceAndWrite() {
         PostgreSQLPacketPayload payload = mock(PostgreSQLPacketPayload.class);
         ByteBuf byteBuf = mock(ByteBuf.class);
         when(payload.getByteBuf()).thenReturn(byteBuf);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
index 852800821f9..d5af2ba4633 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/extended/sync/PostgreSQLComSyncPacketTest.java
@@ -29,13 +29,13 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComSyncPacketTest {
+class PostgreSQLComSyncPacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         PostgreSQLComSyncPacket actual = new PostgreSQLComSyncPacket(payload);
         actual.write(payload);
         verify(payload).readInt4();
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
index f0d93904acc..989dd61b405 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/simple/PostgreSQLComQueryPacketTest.java
@@ -30,13 +30,13 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLComQueryPacketTest {
+class PostgreSQLComQueryPacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertNewInstance() {
+    void assertNewInstance() {
         when(payload.readStringNul()).thenReturn("sql");
         PostgreSQLComQueryPacket actual = new PostgreSQLComQueryPacket(payload);
         actual.write(payload);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
index 9fb365d8219..4ca947d5fc1 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLComTerminationPacketTest.java
@@ -28,10 +28,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLComTerminationPacketTest {
+class PostgreSQLComTerminationPacketTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(4);
         byteBuf.writeInt(1);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
index 1a73c5526e2..7b91ab276ac 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLCommandCompletePacketTest.java
@@ -27,10 +27,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLCommandCompletePacketTest {
+class PostgreSQLCommandCompletePacketTest {
     
     @Test
-    public void assertSelectReadWrite() {
+    void assertSelectReadWrite() {
         String sqlCommand = "SELECT";
         long rowCount = 1;
         String expectedString = sqlCommand + " " + rowCount;
@@ -43,7 +43,7 @@ public final class PostgreSQLCommandCompletePacketTest {
     }
     
     @Test
-    public void assertInsertReadWrite() {
+    void assertInsertReadWrite() {
         String sqlCommand = "INSERT";
         long rowCount = 1;
         String expectedString = sqlCommand + " 0 " + rowCount;
@@ -56,7 +56,7 @@ public final class PostgreSQLCommandCompletePacketTest {
     }
     
     @Test
-    public void assertMoveReadWrite() {
+    void assertMoveReadWrite() {
         String sqlCommand = "MOVE";
         long rowCount = 1;
         String expectedString = sqlCommand + " " + rowCount;
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
index 1f31f975d1a..11e3563ac9b 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLErrorResponsePacketTest.java
@@ -31,13 +31,13 @@ import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
 @ExtendWith(MockitoExtension.class)
-public final class PostgreSQLErrorResponsePacketTest {
+class PostgreSQLErrorResponsePacketTest {
     
     @Mock
     private PostgreSQLPacketPayload payload;
     
     @Test
-    public void assertToServerErrorMessage() {
+    void assertToServerErrorMessage() {
         PostgreSQLErrorResponsePacket responsePacket = createErrorResponsePacket();
         String expectedMessage = "SFATAL\0VFATAL\0C3D000\0Mdatabase \"test\" does not exist\0Ddetail\0Hhint\0P1\0p2\0qinternal query\0"
                 + "Wwhere\0stest\0ttable\0ccolumn\0ddata type\0nconstraint\0Ffile\0L3\0Rroutine";
@@ -45,7 +45,7 @@ public final class PostgreSQLErrorResponsePacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         PostgreSQLErrorResponsePacket responsePacket = createErrorResponsePacket();
         responsePacket.write(payload);
         verify(payload).writeInt1(PostgreSQLErrorResponsePacket.FIELD_TYPE_SEVERITY);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
index 2c304d2b4bf..4fe53d4dd2b 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLReadyForQueryPacketTest.java
@@ -27,10 +27,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLReadyForQueryPacketTest {
+class PostgreSQLReadyForQueryPacketTest {
     
     @Test
-    public void assertReadWriteWithInTransaction() {
+    void assertReadWriteWithInTransaction() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(6);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         PostgreSQLReadyForQueryPacket packet = PostgreSQLReadyForQueryPacket.IN_TRANSACTION;
@@ -40,7 +40,7 @@ public final class PostgreSQLReadyForQueryPacketTest {
     }
     
     @Test
-    public void assertReadWriteWithNotInTransaction() {
+    void assertReadWriteWithNotInTransaction() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(6);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         PostgreSQLReadyForQueryPacket packet = PostgreSQLReadyForQueryPacket.NOT_IN_TRANSACTION;
@@ -50,7 +50,7 @@ public final class PostgreSQLReadyForQueryPacketTest {
     }
     
     @Test
-    public void assertReadWriteWithTransactionFailed() {
+    void assertReadWriteWithTransactionFailed() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(6);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         PostgreSQLReadyForQueryPacket packet = PostgreSQLReadyForQueryPacket.TRANSACTION_FAILED;
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
index 1658f46c2fb..08d06ab75e1 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationOKPacketTest.java
@@ -28,10 +28,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLAuthenticationOKPacketTest {
+class PostgreSQLAuthenticationOKPacketTest {
     
     @Test
-    public void assertAuthenticationOK() {
+    void assertAuthenticationOK() {
         assertReadWrite();
     }
     
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
index b9cab9bc830..3aa0bc765a5 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLComStartupPacketTest.java
@@ -31,10 +31,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class PostgreSQLComStartupPacketTest {
+class PostgreSQLComStartupPacketTest {
     
     @Test
-    public void assertNewPostgreSQLComStartupPacket() {
+    void assertNewPostgreSQLComStartupPacket() {
         Map<String, String> parametersMap = createParametersMap();
         int packetMessageLength = getPacketMessageLength(parametersMap);
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(packetMessageLength);
@@ -75,7 +75,7 @@ public final class PostgreSQLComStartupPacketTest {
     }
     
     @Test
-    public void assertWrite() {
+    void assertWrite() {
         new PostgreSQLComStartupPacket(mock(PostgreSQLPacketPayload.class)).write(mock(PostgreSQLPacketPayload.class));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
index 5e62aa7b954..7fef335556f 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLParameterStatusPacketTest.java
@@ -28,10 +28,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLParameterStatusPacketTest {
+class PostgreSQLParameterStatusPacketTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         String key = "key1";
         String value = "value1";
         int expectedLength = key.length() + 1 + value.length() + 1;
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
index a17b1b22b51..cfbcadc8821 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLPasswordMessagePacketTest.java
@@ -28,10 +28,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLPasswordMessagePacketTest {
+class PostgreSQLPasswordMessagePacketTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         String md5Digest = "ce98bac7fc97f20584ea9536e744dabb";
         int expectedLength = 4 + md5Digest.length() + 1;
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
index 264eeaa3f41..8475aff6af8 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLRandomGeneratorTest.java
@@ -22,10 +22,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLRandomGeneratorTest {
+class PostgreSQLRandomGeneratorTest {
     
     @Test
-    public void assertGenerateRandomBytes() {
+    void assertGenerateRandomBytes() {
         PostgreSQLRandomGenerator generator = PostgreSQLRandomGenerator.getInstance();
         for (int i = 1; i < 13; i++) {
             assertThat(generator.generateRandomBytes(i).length, is(i));
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLSSLNegativePacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLSSLNegativePacketTest.java
index 8b3ba67636f..5e15c5d735a 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLSSLNegativePacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLSSLNegativePacketTest.java
@@ -27,10 +27,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLSSLNegativePacketTest {
+class PostgreSQLSSLNegativePacketTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(1);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         PostgreSQLSSLNegativePacket packet = new PostgreSQLSSLNegativePacket();
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
index f623d5e0587..71ce2efb3f4 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/authentication/PostgreSQLMD5PasswordAuthenticationPacketTest.java
@@ -28,10 +28,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class PostgreSQLMD5PasswordAuthenticationPacketTest {
+class PostgreSQLMD5PasswordAuthenticationPacketTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         byte[] md5Salt = "salt".getBytes();
         int expectedLength = 4 + md5Salt.length;
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
index c1cde52cc57..c81c3d6a400 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/identifier/PostgreSQLMessagePacketTypeTest.java
@@ -24,15 +24,15 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class PostgreSQLMessagePacketTypeTest {
+class PostgreSQLMessagePacketTypeTest {
     
     @Test
-    public void assertValueOf() {
+    void assertValueOf() {
         assertThat(PostgreSQLMessagePacketType.valueOf(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST.getValue()), is(PostgreSQLMessagePacketType.AUTHENTICATION_REQUEST));
     }
     
     @Test
-    public void assertGetValueWithIllegalArgument() {
+    void assertGetValueWithIllegalArgument() {
         assertThrows(PostgreSQLProtocolException.class, () -> PostgreSQLMessagePacketType.valueOf(-1));
     }
 }
diff --git a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
index fd606fcc1cd..d48715c6d3f 100644
--- a/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
+++ b/db-protocol/postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/payload/PostgreSQLPacketPayloadTest.java
@@ -26,10 +26,10 @@ import java.nio.charset.StandardCharsets;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public class PostgreSQLPacketPayloadTest {
+class PostgreSQLPacketPayloadTest {
     
     @Test
-    public void assertReadWrite() {
+    void assertReadWrite() {
         ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(16, 128);
         PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
         byte expectedInt1 = (byte) 'i';
diff --git a/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/mapper/MySQLDialectExceptionMapperTest.java b/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/mapper/MySQLDialectExceptionMapperTest.java
index 6dafc03f8d4..08efa91a667 100644
--- a/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/mapper/MySQLDialectExceptionMapperTest.java
+++ b/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/mapper/MySQLDialectExceptionMapperTest.java
@@ -44,11 +44,11 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class MySQLDialectExceptionMapperTest {
+class MySQLDialectExceptionMapperTest {
     
     @ParameterizedTest(name = "{1} -> {0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void assertConvert(final Class<SQLDialectException> sqlDialectExceptionClazz, final VendorError vendorError) {
+    void assertConvert(final Class<SQLDialectException> sqlDialectExceptionClazz, final VendorError vendorError) {
         SQLException actual = new MySQLDialectExceptionMapper().convert(mock(sqlDialectExceptionClazz));
         assertThat(actual.getSQLState(), is(vendorError.getSqlState().getValue()));
         assertThat(actual.getErrorCode(), is(vendorError.getVendorCode()));
diff --git a/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/vendor/MySQLVendorErrorTest.java b/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/vendor/MySQLVendorErrorTest.java
index bd7e49a1daf..70fa3bd11c2 100644
--- a/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/vendor/MySQLVendorErrorTest.java
+++ b/dialect-exception/mysql/src/test/java/org/apache/shardingsphere/dialect/mysql/vendor/MySQLVendorErrorTest.java
@@ -22,24 +22,24 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class MySQLVendorErrorTest {
+class MySQLVendorErrorTest {
     
     @Test
-    public void assertAccessDeniedError() {
+    void assertAccessDeniedError() {
         assertThat(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getVendorCode(), is(1045));
         assertThat(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getSqlState().getValue(), is("28000"));
         assertThat(MySQLVendorError.ER_ACCESS_DENIED_ERROR.getReason(), is("Access denied for user '%s'@'%s' (using password: %s)"));
     }
     
     @Test
-    public void assertBadDbError() {
+    void assertBadDbError() {
         assertThat(MySQLVendorError.ER_BAD_DB_ERROR.getVendorCode(), is(1049));
         assertThat(MySQLVendorError.ER_BAD_DB_ERROR.getSqlState().getValue(), is("42000"));
         assertThat(MySQLVendorError.ER_BAD_DB_ERROR.getReason(), is("Unknown database '%s'"));
     }
     
     @Test
-    public void assertErrorOnModifyingGtidExecutedTable() {
+    void assertErrorOnModifyingGtidExecutedTable() {
         assertThat(MySQLVendorError.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE.getVendorCode(), is(3176));
         assertThat(MySQLVendorError.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE.getSqlState().getValue(), is("HY000"));
         assertThat(MySQLVendorError.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE.getReason(), is("Please do not modify the %s table with an XA transaction. "
diff --git a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
index 23654b052a0..c8d528a6223 100644
--- a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
+++ b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/mapper/PostgreSQLDialectExceptionMapperTest.java
@@ -36,11 +36,11 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 
-public final class PostgreSQLDialectExceptionMapperTest {
+class PostgreSQLDialectExceptionMapperTest {
     
     @ParameterizedTest(name = "{1} -> {0}")
     @ArgumentsSource(TestCaseArgumentsProvider.class)
-    public void convert(final Class<SQLDialectException> sqlDialectExceptionClazz, final String sqlState) {
+    void convert(final Class<SQLDialectException> sqlDialectExceptionClazz, final String sqlState) {
         assertThat(new PostgreSQLDialectExceptionMapper().convert(mock(sqlDialectExceptionClazz)).getSQLState(), is(sqlState));
     }
     
diff --git a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
index fe80ac01054..c32f4a9211c 100644
--- a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
+++ b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
@@ -24,10 +24,10 @@ import org.postgresql.util.ServerErrorMessage;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class ServerErrorMessageBuilderTest {
+class ServerErrorMessageBuilderTest {
     
     @Test
-    public void assertToServerErrorMessage() {
+    void assertToServerErrorMessage() {
         ServerErrorMessage actual = ServerErrorMessageBuilder.build("FATAL", PostgreSQLVendorError.PRIVILEGE_NOT_GRANTED, "foo_user", "foo_db");
         assertThat(actual.getSeverity(), is("FATAL"));
         assertThat(actual.getSQLState(), is(PostgreSQLVendorError.PRIVILEGE_NOT_GRANTED.getSqlState().getValue()));
diff --git a/distsql/parser/src/test/java/org/apache/shardingsphere/distsql/parser/rdl/RegisterStorageUnitTest.java b/distsql/parser/src/test/java/org/apache/shardingsphere/distsql/parser/rdl/RegisterStorageUnitTest.java
index d9b30b253c0..0fa3fd1e2f1 100644
--- a/distsql/parser/src/test/java/org/apache/shardingsphere/distsql/parser/rdl/RegisterStorageUnitTest.java
+++ b/distsql/parser/src/test/java/org/apache/shardingsphere/distsql/parser/rdl/RegisterStorageUnitTest.java
@@ -28,10 +28,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
 @ExtendWith(MockitoExtension.class)
-public final class RegisterStorageUnitTest {
+class RegisterStorageUnitTest {
     
     @Test
-    public void assertRegisterStorageUnitSpecialCharacters() {
+    void assertRegisterStorageUnitSpecialCharacters() {
         String sql = "REGISTER STORAGE UNIT test_db ("
                 + "URL='jdbc:mysql://127.0.0.1:3306/test_db',"
                 + "USER='root',PASSWORD='\\'\\\"r\\[oo]t');";
diff --git a/distsql/statement/src/test/java/org/apache/shardingsphere/distsql/parser/segment/converter/DataSourceSegmentsConverterTest.java b/distsql/statement/src/test/java/org/apache/shardingsphere/distsql/parser/segment/converter/DataSourceSegmentsConverterTest.java
index 6a24cf87833..10b20465a87 100644
--- a/distsql/statement/src/test/java/org/apache/shardingsphere/distsql/parser/segment/converter/DataSourceSegmentsConverterTest.java
+++ b/distsql/statement/src/test/java/org/apache/shardingsphere/distsql/parser/segment/converter/DataSourceSegmentsConverterTest.java
@@ -36,10 +36,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class DataSourceSegmentsConverterTest {
+class DataSourceSegmentsConverterTest {
     
     @Test
-    public void assertConvert() {
+    void assertConvert() {
         Map<String, DataSourceProperties> actual = DataSourceSegmentsConverter.convert(new MySQLDatabaseType(), createDataSourceSegments());
         assertThat(actual.size(), is(2));
         assertTrue(actual.keySet().containsAll(Arrays.asList("ds0", "ds1")));
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/checker/DatabaseDiscoveryRuleConfigurationCheckerTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/checker/DatabaseDiscoveryRuleConfigurationCheckerTest.java
index caf1535f82d..38e1c2a5f22 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/checker/DatabaseDiscoveryRuleConfigurationCheckerTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/checker/DatabaseDiscoveryRuleConfigurationCheckerTest.java
@@ -30,11 +30,11 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class DatabaseDiscoveryRuleConfigurationCheckerTest {
+class DatabaseDiscoveryRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertValidCheck() {
+    void assertValidCheck() {
         DatabaseDiscoveryRuleConfiguration config = getValidConfiguration();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         checker.check("test", config, Collections.emptyMap(), Collections.emptyList());
@@ -50,7 +50,7 @@ public final class DatabaseDiscoveryRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertInvalidCheck() {
+    void assertInvalidCheck() {
         DatabaseDiscoveryRuleConfiguration config = getInvalidConfiguration();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         assertThrows(MissingRequiredDBDiscoveryConfigurationException.class, () -> checker.check("test", config, Collections.emptyMap(), Collections.emptyList()));
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouterTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouterTest.java
index 56723747c0c..28405aa1aa5 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouterTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/route/DatabaseDiscoverySQLRouterTest.java
@@ -58,7 +58,7 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 
 @ExtendWith(MockitoExtension.class)
-public final class DatabaseDiscoverySQLRouterTest {
+class DatabaseDiscoverySQLRouterTest {
     
     private static final String DATA_SOURCE_NAME = "ds";
     
@@ -74,7 +74,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     private DatabaseDiscoverySQLRouter sqlRouter;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         ScheduleContextFactory.newInstance(new ModeConfiguration("Cluster", mock(PersistRepositoryConfiguration.class)));
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceConfig = new DatabaseDiscoveryDataSourceRuleConfiguration(
                 DATA_SOURCE_NAME, Collections.singletonList(PRIMARY_DATA_SOURCE), "", "CORE.FIXTURE");
@@ -88,7 +88,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     }
     
     @Test
-    public void assertCreateRouteContextToPrimaryWithoutRouteUnits() {
+    void assertCreateRouteContextToPrimaryWithoutRouteUnits() {
         QueryContext queryContext = new QueryContext(mock(SQLStatementContext.class), "", Collections.emptyList());
         ShardingSphereDatabase database = new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, mock(DatabaseType.class), mock(ShardingSphereResourceMetaData.class, RETURNS_DEEP_STUBS),
                 new ShardingSphereRuleMetaData(Collections.singleton(rule)), Collections.emptyMap());
@@ -99,7 +99,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     }
     
     @Test
-    public void assertDecorateRouteContextToPrimaryDataSource() {
+    void assertDecorateRouteContextToPrimaryDataSource() {
         RouteContext actual = mockRouteContext();
         QueryContext queryContext = new QueryContext(mock(SQLStatementContext.class), "", Collections.emptyList());
         ShardingSphereDatabase database = new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, mock(DatabaseType.class), mock(ShardingSphereResourceMetaData.class, RETURNS_DEEP_STUBS),
@@ -111,7 +111,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     }
     
     @Test
-    public void assertCreateRouteContextToPrimaryDataSourceWithLock() {
+    void assertCreateRouteContextToPrimaryDataSourceWithLock() {
         QueryContext queryContext = new QueryContext(sqlStatementContext, "", Collections.emptyList());
         ShardingSphereDatabase database = new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, mock(DatabaseType.class), mock(ShardingSphereResourceMetaData.class, RETURNS_DEEP_STUBS),
                 new ShardingSphereRuleMetaData(Collections.singleton(rule)), Collections.emptyMap());
@@ -122,7 +122,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     }
     
     @Test
-    public void assertDecorateRouteContextToPrimaryDataSourceWithLock() {
+    void assertDecorateRouteContextToPrimaryDataSourceWithLock() {
         RouteContext actual = mockRouteContext();
         QueryContext queryContext = new QueryContext(sqlStatementContext, "", Collections.emptyList());
         ShardingSphereDatabase database = new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, mock(DatabaseType.class), mock(ShardingSphereResourceMetaData.class, RETURNS_DEEP_STUBS),
@@ -134,7 +134,7 @@ public final class DatabaseDiscoverySQLRouterTest {
     }
     
     @Test
-    public void assertCreateRouteContextToPrimaryDataSource() {
+    void assertCreateRouteContextToPrimaryDataSource() {
         QueryContext queryContext = new QueryContext(sqlStatementContext, "", Collections.emptyList());
         ShardingSphereDatabase database = new ShardingSphereDatabase(DefaultDatabase.LOGIC_NAME, mock(DatabaseType.class), mock(ShardingSphereResourceMetaData.class, RETURNS_DEEP_STUBS),
                 new ShardingSphereRuleMetaData(Collections.singleton(rule)), Collections.emptyMap());
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryDataSourceRuleTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryDataSourceRuleTest.java
index 1e1da1a4a6d..0721c1ba57e 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryDataSourceRuleTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryDataSourceRuleTest.java
@@ -33,40 +33,40 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 
-public final class DatabaseDiscoveryDataSourceRuleTest {
+class DatabaseDiscoveryDataSourceRuleTest {
     
     private final DatabaseDiscoveryDataSourceRule databaseDiscoveryDataSourceRule = new DatabaseDiscoveryDataSourceRule(
             new DatabaseDiscoveryDataSourceRuleConfiguration("test_pr", Arrays.asList("ds_0", "ds_1"), "ha_heartbeat", "discoveryTypeName"), new Properties(),
             new MGRMySQLDatabaseDiscoveryProvider());
     
     @Test
-    public void assertNewHADataSourceRuleWithoutName() {
+    void assertNewHADataSourceRuleWithoutName() {
         assertThrows(IllegalArgumentException.class,
                 () -> new DatabaseDiscoveryDataSourceRule(new DatabaseDiscoveryDataSourceRuleConfiguration("", Arrays.asList("ds_0", "ds_1"), "ha_heartbeat", "discoveryTypeName"),
                         new Properties(), new MGRMySQLDatabaseDiscoveryProvider()));
     }
     
     @Test
-    public void assertNewHADataSourceRuleWithNullDataSourceName() {
+    void assertNewHADataSourceRuleWithNullDataSourceName() {
         assertThrows(MissingRequiredDataSourceNamesConfigurationException.class,
                 () -> new DatabaseDiscoveryDataSourceRule(new DatabaseDiscoveryDataSourceRuleConfiguration(
                         "ds", null, "ha_heartbeat", "discoveryTypeName"), new Properties(), new MGRMySQLDatabaseDiscoveryProvider()));
     }
     
     @Test
-    public void assertNewHADataSourceRuleWithEmptyDataSourceName() {
+    void assertNewHADataSourceRuleWithEmptyDataSourceName() {
         assertThrows(MissingRequiredDataSourceNamesConfigurationException.class,
                 () -> new DatabaseDiscoveryDataSourceRule(new DatabaseDiscoveryDataSourceRuleConfiguration("ds", Collections.emptyList(), "ha_heartbeat", "discoveryTypeName"),
                         new Properties(), new MGRMySQLDatabaseDiscoveryProvider()));
     }
     
     @Test
-    public void assertGetDataSourceNamesWithoutDisabledDataSourceNames() {
+    void assertGetDataSourceNamesWithoutDisabledDataSourceNames() {
         assertThat(databaseDiscoveryDataSourceRule.getDataSourceNames(), is(Arrays.asList("ds_0", "ds_1")));
     }
     
     @Test
-    public void assertGetDataSourceMapper() {
+    void assertGetDataSourceMapper() {
         databaseDiscoveryDataSourceRule.changePrimaryDataSourceName("ds_1");
         assertThat(databaseDiscoveryDataSourceRule.getDataSourceMapper(),
                 is(Collections.singletonMap("test_pr",
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryRuleTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryRuleTest.java
index 41c83638657..e5a27e24e0a 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryRuleTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/DatabaseDiscoveryRuleTest.java
@@ -48,24 +48,24 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class DatabaseDiscoveryRuleTest {
+class DatabaseDiscoveryRuleTest {
     
     private final Map<String, DataSource> dataSourceMap = Collections.singletonMap("primary_ds", new MockedDataSource());
     
     @BeforeAll
-    public static void setUp() {
+    static void setUp() {
         ScheduleContextFactory.newInstance(new ModeConfiguration("Cluster", mock(PersistRepositoryConfiguration.class)));
     }
     
     @Test
-    public void assertFindDataSourceRule() {
+    void assertFindDataSourceRule() {
         Optional<DatabaseDiscoveryDataSourceRule> actual = createRule().findDataSourceRule("replica_ds");
         assertTrue(actual.isPresent());
         assertDataSourceRule(actual.get());
     }
     
     @Test
-    public void assertGetSingleDataSourceRule() {
+    void assertGetSingleDataSourceRule() {
         assertDataSourceRule(createRule().getSingleDataSourceRule());
     }
     
@@ -75,7 +75,7 @@ public final class DatabaseDiscoveryRuleTest {
     }
     
     @Test
-    public void assertGetDataSourceMapper() {
+    void assertGetDataSourceMapper() {
         DatabaseDiscoveryRule databaseDiscoveryRule = createRule();
         Map<String, Collection<DataSourceRoleInfo>> actual = databaseDiscoveryRule.getDataSourceMapper();
         assertThat(actual, is(Collections.singletonMap("replica_ds", new LinkedHashSet<>(Arrays.asList(new DataSourceRoleInfo("primary_ds", DataSourceRole.PRIMARY),
@@ -83,7 +83,7 @@ public final class DatabaseDiscoveryRuleTest {
     }
     
     @Test
-    public void assertGetExportedMethods() {
+    void assertGetExportedMethods() {
         DatabaseDiscoveryRule databaseDiscoveryRule = createRule();
         assertThat(databaseDiscoveryRule.getExportData().get(ExportableConstants.EXPORT_DB_DISCOVERY_PRIMARY_DATA_SOURCES), is(Collections.singletonMap("replica_ds", "primary_ds")));
     }
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/builder/DatabaseDiscoveryRuleBuilderTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/builder/DatabaseDiscoveryRuleBuilderTest.java
index 2dd0f46f8ed..0db87ce4ecd 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/builder/DatabaseDiscoveryRuleBuilderTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/rule/builder/DatabaseDiscoveryRuleBuilderTest.java
@@ -40,11 +40,11 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class DatabaseDiscoveryRuleBuilderTest {
+class DatabaseDiscoveryRuleBuilderTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertBuild() {
+    void assertBuild() {
         ScheduleContextFactory.newInstance(new ModeConfiguration("Cluster", mock(PersistRepositoryConfiguration.class)));
         DatabaseDiscoveryRuleConfiguration ruleConfig = new DatabaseDiscoveryRuleConfiguration(
                 Collections.singleton(new DatabaseDiscoveryDataSourceRuleConfiguration("name", Collections.singletonList("name"), "", "CORE.FIXTURE")),
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlDatabaseDiscoveryRuleConfigurationSwapperTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlDatabaseDiscoveryRuleConfigurationSwapperTest.java
index 919094d3838..689b3289c70 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlDatabaseDiscoveryRuleConfigurationSwapperTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlDatabaseDiscoveryRuleConfigurationSwapperTest.java
@@ -35,10 +35,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class YamlDatabaseDiscoveryRuleConfigurationSwapperTest {
+class YamlDatabaseDiscoveryRuleConfigurationSwapperTest {
     
     @Test
-    public void assertSwapToYamlWithLoadBalanceAlgorithm() {
+    void assertSwapToYamlWithLoadBalanceAlgorithm() {
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceConfig =
                 new DatabaseDiscoveryDataSourceRuleConfiguration("ds", Collections.singletonList("dataSourceName"), "ha_heartbeat", "discoveryTypeName");
         YamlDatabaseDiscoveryRuleConfiguration actual = getYamlDatabaseDiscoveryRuleConfigurationSwapper().swapToYamlConfiguration(
@@ -49,7 +49,7 @@ public final class YamlDatabaseDiscoveryRuleConfigurationSwapperTest {
     }
     
     @Test
-    public void assertSwapToYamlWithoutLoadBalanceAlgorithm() {
+    void assertSwapToYamlWithoutLoadBalanceAlgorithm() {
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceConfig = new DatabaseDiscoveryDataSourceRuleConfiguration("ds", Collections.singletonList("dataSourceName"),
                 "ha_heartbeat", "discoveryTypeName");
         YamlDatabaseDiscoveryRuleConfiguration actual = getYamlDatabaseDiscoveryRuleConfigurationSwapper().swapToYamlConfiguration(
@@ -59,14 +59,14 @@ public final class YamlDatabaseDiscoveryRuleConfigurationSwapperTest {
     }
     
     @Test
-    public void assertSwapToObjectWithLoadBalanceAlgorithmType() {
+    void assertSwapToObjectWithLoadBalanceAlgorithmType() {
         YamlDatabaseDiscoveryRuleConfiguration yamlConfig = createYamlDatabaseDiscoveryRuleConfiguration();
         DatabaseDiscoveryRuleConfiguration actual = getYamlDatabaseDiscoveryRuleConfigurationSwapper().swapToObject(yamlConfig);
         assertDatabaseDiscoveryDataSourceRuleConfiguration(actual);
     }
     
     @Test
-    public void assertSwapToObjectWithoutLoadBalanceAlgorithm() {
+    void assertSwapToObjectWithoutLoadBalanceAlgorithm() {
         YamlDatabaseDiscoveryRuleConfiguration yamlConfig = createYamlDatabaseDiscoveryRuleConfiguration();
         DatabaseDiscoveryRuleConfiguration actual = getYamlDatabaseDiscoveryRuleConfigurationSwapper().swapToObject(yamlConfig);
         assertDatabaseDiscoveryDataSourceRuleConfiguration(actual);
diff --git a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest.java b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest.java
index 50e72f843ba..b83cc05883b 100644
--- a/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest.java
+++ b/features/db-discovery/core/src/test/java/org/apache/shardingsphere/dbdiscovery/yaml/swapper/YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest.java
@@ -33,10 +33,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
-public final class YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest {
+class YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigurationTest {
     
     @Test
-    public void assertUnmarshalWithYamlFile() throws IOException {
+    void assertUnmarshalWithYamlFile() throws IOException {
         URL url = getClass().getClassLoader().getResource("yaml/db-discovery-rule.yaml");
         assertNotNull(url);
         YamlRootConfiguration rootConfig = YamlEngine.unmarshal(new File(url.getFile()), YamlRootConfiguration.class);
@@ -45,7 +45,7 @@ public final class YamlRootRuleConfigurationsForYamlDatabaseDiscoveryRuleConfigu
     }
     
     @Test
-    public void assertUnmarshalWithYamlBytes() throws IOException {
+    void assertUnmarshalWithYamlBytes() throws IOException {
         URL url = getClass().getClassLoader().getResource("yaml/db-discovery-rule.yaml");
         assertNotNull(url);
         StringBuilder yamlContent = new StringBuilder();
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/converter/DatabaseDiscoveryRuleStatementConverterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/converter/DatabaseDiscoveryRuleStatementConverterTest.java
index 6915f2f0d0f..d09965f19ed 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/converter/DatabaseDiscoveryRuleStatementConverterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/converter/DatabaseDiscoveryRuleStatementConverterTest.java
@@ -35,10 +35,10 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-public final class DatabaseDiscoveryRuleStatementConverterTest {
+class DatabaseDiscoveryRuleStatementConverterTest {
     
     @Test
-    public void assertConvert() {
+    void assertConvert() {
         DatabaseDiscoveryRuleConfiguration ruleConfig = DatabaseDiscoveryRuleStatementConverter.convert(createDatabaseDiscoveryRuleSegments());
         assertTrue(ruleConfig.getDiscoveryTypes().containsKey("definition_mysql_mgr"));
         assertTrue(ruleConfig.getDiscoveryHeartbeats().containsKey("definition_heartbeat"));
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/CountDatabaseDiscoveryRuleExecutorTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/CountDatabaseDiscoveryRuleExecutorTest.java
index 8ab6cb02a68..632829c52f2 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/CountDatabaseDiscoveryRuleExecutorTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/CountDatabaseDiscoveryRuleExecutorTest.java
@@ -39,10 +39,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class CountDatabaseDiscoveryRuleExecutorTest {
+class CountDatabaseDiscoveryRuleExecutorTest {
     
     @Test
-    public void assertGetRowData() {
+    void assertGetRowData() {
         RQLExecutor<CountDatabaseDiscoveryRuleStatement> executor = new CountDatabaseDiscoveryRuleExecutor();
         Collection<LocalDataQueryResultRow> actual = executor.getRows(mockDatabase(), mock(CountDatabaseDiscoveryRuleStatement.class));
         assertThat(actual.size(), is(1));
@@ -54,7 +54,7 @@ public final class CountDatabaseDiscoveryRuleExecutorTest {
     }
     
     @Test
-    public void assertGetColumnNames() {
+    void assertGetColumnNames() {
         RQLExecutor<CountDatabaseDiscoveryRuleStatement> executor = new CountDatabaseDiscoveryRuleExecutor();
         Collection<String> columns = executor.getColumnNames();
         assertThat(columns.size(), is(3));
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryHeartbeatExecutorTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryHeartbeatExecutorTest.java
index c54a56db827..11cf0a7be76 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryHeartbeatExecutorTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryHeartbeatExecutorTest.java
@@ -43,10 +43,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class ShowDatabaseDiscoveryHeartbeatExecutorTest {
+class ShowDatabaseDiscoveryHeartbeatExecutorTest {
     
     @Test
-    public void assertGetRowData() {
+    void assertGetRowData() {
         ShardingSphereDatabase database = mock(ShardingSphereDatabase.class, RETURNS_DEEP_STUBS);
         DatabaseDiscoveryRule rule = mock(DatabaseDiscoveryRule.class);
         when(rule.getConfiguration()).thenReturn(createRuleConfiguration());
@@ -61,7 +61,7 @@ public final class ShowDatabaseDiscoveryHeartbeatExecutorTest {
     }
     
     @Test
-    public void assertGetColumnNames() {
+    void assertGetColumnNames() {
         RQLExecutor<ShowDatabaseDiscoveryHeartbeatsStatement> executor = new ShowDatabaseDiscoveryHeartbeatExecutor();
         Collection<String> columns = executor.getColumnNames();
         assertThat(columns.size(), is(2));
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryRuleExecutorTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryRuleExecutorTest.java
index cceb2d36ff6..355c31df534 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryRuleExecutorTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryRuleExecutorTest.java
@@ -44,10 +44,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class ShowDatabaseDiscoveryRuleExecutorTest {
+class ShowDatabaseDiscoveryRuleExecutorTest {
     
     @Test
-    public void assertGetRows() {
+    void assertGetRows() {
         ShardingSphereDatabase database = mock(ShardingSphereDatabase.class, RETURNS_DEEP_STUBS);
         DatabaseDiscoveryRule rule = mock(DatabaseDiscoveryRule.class, RETURNS_DEEP_STUBS);
         when(rule.getConfiguration()).thenReturn(createRuleConfiguration());
@@ -61,7 +61,7 @@ public final class ShowDatabaseDiscoveryRuleExecutorTest {
     }
     
     @Test
-    public void assertGetRowsWithSpecifiedRuleName() {
+    void assertGetRowsWithSpecifiedRuleName() {
         ShardingSphereDatabase database = mock(ShardingSphereDatabase.class, RETURNS_DEEP_STUBS);
         DatabaseDiscoveryRule rule = mock(DatabaseDiscoveryRule.class, RETURNS_DEEP_STUBS);
         when(rule.getConfiguration()).thenReturn(createRuleConfiguration());
@@ -75,7 +75,7 @@ public final class ShowDatabaseDiscoveryRuleExecutorTest {
     }
     
     @Test
-    public void assertGetColumnNames() {
+    void assertGetColumnNames() {
         RQLExecutor<ShowDatabaseDiscoveryRulesStatement> executor = new ShowDatabaseDiscoveryRuleExecutor();
         assertColumns(executor.getColumnNames());
     }
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryTypeExecutorTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryTypeExecutorTest.java
index 1ab034807b7..eb8c2bab6fc 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryTypeExecutorTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/query/ShowDatabaseDiscoveryTypeExecutorTest.java
@@ -43,10 +43,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class ShowDatabaseDiscoveryTypeExecutorTest {
+class ShowDatabaseDiscoveryTypeExecutorTest {
     
     @Test
-    public void assertGetRowData() {
+    void assertGetRowData() {
         ShardingSphereDatabase database = mock(ShardingSphereDatabase.class, RETURNS_DEEP_STUBS);
         DatabaseDiscoveryRule rule = mock(DatabaseDiscoveryRule.class);
         when(rule.getConfiguration()).thenReturn(createRuleConfiguration());
@@ -62,7 +62,7 @@ public final class ShowDatabaseDiscoveryTypeExecutorTest {
     }
     
     @Test
-    public void assertGetColumnNames() {
+    void assertGetColumnNames() {
         RQLExecutor<ShowDatabaseDiscoveryTypesStatement> executor = new ShowDatabaseDiscoveryTypeExecutor();
         Collection<String> columns = executor.getColumnNames();
         assertThat(columns.size(), is(3));
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/AlterDatabaseDiscoveryRuleStatementUpdaterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/AlterDatabaseDiscoveryRuleStatementUpdaterTest.java
index b21240b802e..e85ad25bbc2 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/AlterDatabaseDiscoveryRuleStatementUpdaterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/AlterDatabaseDiscoveryRuleStatementUpdaterTest.java
@@ -49,7 +49,7 @@ import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
+class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ShardingSphereDatabase database;
@@ -60,17 +60,17 @@ public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     private final AlterDatabaseDiscoveryRuleStatementUpdater updater = new AlterDatabaseDiscoveryRuleStatementUpdater();
     
     @BeforeEach
-    public void before() {
+    void before() {
         when(database.getResourceMetaData()).thenReturn(resourceMetaData);
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutCurrentRule() {
+    void assertCheckSQLStatementWithoutCurrentRule() {
         assertThrows(MissingRequiredRuleException.class, () -> updater.checkSQLStatement(database, new AlterDatabaseDiscoveryRuleStatement(Collections.emptyList()), null));
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutToBeAlteredDatabaseDiscoveryRule() {
+    void assertCheckSQLStatementWithoutToBeAlteredDatabaseDiscoveryRule() {
         Properties props = new Properties();
         DatabaseDiscoveryRuleSegment segment =
                 new DatabaseDiscoveryRuleSegment("readwrite_ds", Arrays.asList("ds_read_0", "ds_read_1"), new AlgorithmSegment("MySQL.MGR", props), props);
@@ -79,7 +79,7 @@ public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutExistedResources() {
+    void assertCheckSQLStatementWithoutExistedResources() {
         when(resourceMetaData.getNotExistedDataSources(any())).thenReturn(Collections.singleton("ds0"));
         Properties props = new Properties();
         DatabaseDiscoveryRuleSegment segment =
@@ -91,7 +91,7 @@ public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertCheckSQLStatementWithDatabaseDiscoveryType() {
+    void assertCheckSQLStatementWithDatabaseDiscoveryType() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("INVALID_TYPE", new Properties());
         DatabaseDiscoveryRuleSegment segment = new DatabaseDiscoveryRuleSegment("readwrite_ds", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceRuleConfig = new DatabaseDiscoveryDataSourceRuleConfiguration("readwrite_ds", Collections.emptyList(), "ha-heartbeat", "TEST");
@@ -101,7 +101,7 @@ public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertBuild() {
+    void assertBuild() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("MySQL.MGR", new Properties());
         DatabaseDiscoveryRuleSegment definitionSegment = new DatabaseDiscoveryRuleSegment("readwrite_ds_1", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         DatabaseDiscoveryRuleConfiguration databaseDiscoveryRuleConfig =
@@ -114,7 +114,7 @@ public final class AlterDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdate() {
+    void assertUpdate() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("MySQL.MGR", new Properties());
         DatabaseDiscoveryRuleSegment definitionSegment = new DatabaseDiscoveryRuleSegment("readwrite_ds_1", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         DatabaseDiscoveryRuleConfiguration toBeCreatedRuleConfig =
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/CreateDatabaseDiscoveryRuleStatementUpdaterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/CreateDatabaseDiscoveryRuleStatementUpdaterTest.java
index f44a3a92fc0..da8af9d0d86 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/CreateDatabaseDiscoveryRuleStatementUpdaterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/CreateDatabaseDiscoveryRuleStatementUpdaterTest.java
@@ -51,7 +51,7 @@ import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
+class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     
     private final CreateDatabaseDiscoveryRuleStatementUpdater updater = new CreateDatabaseDiscoveryRuleStatementUpdater();
     
@@ -62,12 +62,12 @@ public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     private ShardingSphereResourceMetaData resourceMetaData;
     
     @BeforeEach
-    public void before() {
+    void before() {
         when(database.getResourceMetaData()).thenReturn(resourceMetaData);
     }
     
     @Test
-    public void assertCheckSQLStatementWithDuplicateRuleNames() {
+    void assertCheckSQLStatementWithDuplicateRuleNames() {
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceRuleConfig = new DatabaseDiscoveryDataSourceRuleConfiguration("readwrite_ds", Collections.emptyList(), "ha-heartbeat", "test");
         Properties props = new Properties();
         DatabaseDiscoveryRuleSegment databaseDiscoveryRuleSegment =
@@ -77,7 +77,7 @@ public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutExistedResources() {
+    void assertCheckSQLStatementWithoutExistedResources() {
         when(resourceMetaData.getNotExistedDataSources(any())).thenReturn(Collections.singleton("ds_read_0"));
         Properties props = new Properties();
         DatabaseDiscoveryRuleSegment segment =
@@ -86,14 +86,14 @@ public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertCheckSQLStatementWithDatabaseDiscoveryType() {
+    void assertCheckSQLStatementWithDatabaseDiscoveryType() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("INVALID_TYPE", new Properties());
         DatabaseDiscoveryRuleSegment segment = new DatabaseDiscoveryRuleSegment("readwrite_ds", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         assertThrows(ServiceProviderNotFoundServerException.class, () -> updater.checkSQLStatement(database, createSQLStatement(false, Collections.singleton(segment)), null));
     }
     
     @Test
-    public void assertBuild() {
+    void assertBuild() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("MySQL.MGR", new Properties());
         DatabaseDiscoveryRuleSegment definitionSegment = new DatabaseDiscoveryRuleSegment("readwrite_ds_1", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         DatabaseDiscoveryRuleConfiguration ruleConfig =
@@ -106,7 +106,7 @@ public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdate() {
+    void assertUpdate() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("MySQL.MGR", new Properties());
         DatabaseDiscoveryRuleSegment definitionSegment = new DatabaseDiscoveryRuleSegment("readwrite_ds_1", Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
         DatabaseDiscoveryRuleConfiguration currentConfig = new DatabaseDiscoveryRuleConfiguration(new LinkedList<>(), new LinkedHashMap<>(), new LinkedHashMap<>());
@@ -121,7 +121,7 @@ public final class CreateDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateWithIfNotExists() {
+    void assertUpdateWithIfNotExists() {
         AlgorithmSegment algorithmSegment = new AlgorithmSegment("MySQL.MGR", new Properties());
         DatabaseDiscoveryRuleSegment definitionSegmentDS1 = new DatabaseDiscoveryRuleSegment("readwrite_ds_1",
                 Arrays.asList("ds_read_0", "ds_read_1"), algorithmSegment, new Properties());
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryHeartbeatStatementUpdaterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryHeartbeatStatementUpdaterTest.java
index a4c7a679385..01f010b64f8 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryHeartbeatStatementUpdaterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryHeartbeatStatementUpdaterTest.java
@@ -42,7 +42,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 @ExtendWith(MockitoExtension.class)
-public final class DropDatabaseDiscoveryHeartbeatStatementUpdaterTest {
+class DropDatabaseDiscoveryHeartbeatStatementUpdaterTest {
     
     private final DropDatabaseDiscoveryHeartbeatStatementUpdater updater = new DropDatabaseDiscoveryHeartbeatStatementUpdater();
     
@@ -50,18 +50,18 @@ public final class DropDatabaseDiscoveryHeartbeatStatementUpdaterTest {
     private ShardingSphereDatabase database;
     
     @Test
-    public void assertCheckSQLStatementWithoutCurrentHeartbeat() {
+    void assertCheckSQLStatementWithoutCurrentHeartbeat() {
         assertThrows(MissingRequiredRuleException.class, () -> updater.checkSQLStatement(database, createSQLStatement(), null));
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutToBeDroppedHeartbeat() {
+    void assertCheckSQLStatementWithoutToBeDroppedHeartbeat() {
         assertThrows(MissingRequiredRuleException.class,
                 () -> updater.checkSQLStatement(database, createSQLStatement(), new DatabaseDiscoveryRuleConfiguration(Collections.emptyList(), Collections.emptyMap(), Collections.emptyMap())));
     }
     
     @Test
-    public void assertCheckSQLStatementWithInUsed() {
+    void assertCheckSQLStatementWithInUsed() {
         DatabaseDiscoveryDataSourceRuleConfiguration ruleConfig = new DatabaseDiscoveryDataSourceRuleConfiguration("name", Collections.emptyList(), "heartbeat_name", "");
         assertThrows(RuleInUsedException.class,
                 () -> updater.checkSQLStatement(database, createSQLStatement(), new DatabaseDiscoveryRuleConfiguration(Collections.singletonList(ruleConfig),
@@ -69,14 +69,14 @@ public final class DropDatabaseDiscoveryHeartbeatStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfiguration() {
+    void assertUpdateCurrentRuleConfiguration() {
         DatabaseDiscoveryRuleConfiguration ruleConfig = createCurrentRuleConfiguration();
         updater.updateCurrentRuleConfiguration(createSQLStatement(), ruleConfig);
         assertFalse(ruleConfig.getDiscoveryHeartbeats().containsKey("heartbeat_name"));
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfigurationWithIfExists() {
+    void assertUpdateCurrentRuleConfigurationWithIfExists() {
         DatabaseDiscoveryRuleConfiguration ruleConfig = createCurrentRuleConfiguration();
         DropDatabaseDiscoveryHeartbeatStatement dropDatabaseDiscoveryHeartbeatStatement = createSQLStatementWithIfExists();
         updater.checkSQLStatement(database, dropDatabaseDiscoveryHeartbeatStatement, ruleConfig);
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryProviderStatementUpdaterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryProviderStatementUpdaterTest.java
index 11323119b9e..6001cebb60d 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryProviderStatementUpdaterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryProviderStatementUpdaterTest.java
@@ -42,7 +42,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 @ExtendWith(MockitoExtension.class)
-public final class DropDatabaseDiscoveryProviderStatementUpdaterTest {
+class DropDatabaseDiscoveryProviderStatementUpdaterTest {
     
     private final DropDatabaseDiscoveryTypeStatementUpdater updater = new DropDatabaseDiscoveryTypeStatementUpdater();
     
@@ -50,18 +50,18 @@ public final class DropDatabaseDiscoveryProviderStatementUpdaterTest {
     private ShardingSphereDatabase database;
     
     @Test
-    public void assertCheckSQLStatementWithoutCurrentType() {
+    void assertCheckSQLStatementWithoutCurrentType() {
         assertThrows(MissingRequiredRuleException.class, () -> updater.checkSQLStatement(database, createSQLStatement(), null));
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutToBeDroppedTypes() {
+    void assertCheckSQLStatementWithoutToBeDroppedTypes() {
         assertThrows(MissingRequiredRuleException.class,
                 () -> updater.checkSQLStatement(database, createSQLStatement(), new DatabaseDiscoveryRuleConfiguration(Collections.emptyList(), Collections.emptyMap(), Collections.emptyMap())));
     }
     
     @Test
-    public void assertCheckSQLStatementWithInUsed() {
+    void assertCheckSQLStatementWithInUsed() {
         DatabaseDiscoveryDataSourceRuleConfiguration dataSourceRuleConfig = new DatabaseDiscoveryDataSourceRuleConfiguration("name", Collections.emptyList(), "", "type_name");
         assertThrows(RuleInUsedException.class,
                 () -> updater.checkSQLStatement(database, createSQLStatement(), new DatabaseDiscoveryRuleConfiguration(Collections.singletonList(dataSourceRuleConfig),
@@ -69,14 +69,14 @@ public final class DropDatabaseDiscoveryProviderStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfiguration() {
+    void assertUpdateCurrentRuleConfiguration() {
         DatabaseDiscoveryRuleConfiguration ruleConfig = createCurrentRuleConfiguration();
         updater.updateCurrentRuleConfiguration(createSQLStatement(), ruleConfig);
         assertFalse(ruleConfig.getDiscoveryTypes().containsKey("type_name"));
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfigurationWithIfExists() {
+    void assertUpdateCurrentRuleConfigurationWithIfExists() {
         DatabaseDiscoveryRuleConfiguration ruleConfig = createCurrentRuleConfiguration();
         DropDatabaseDiscoveryTypeStatement dropDatabaseDiscoveryRuleStatement = createSQLStatementWithIfExists();
         updater.checkSQLStatement(database, dropDatabaseDiscoveryRuleStatement, ruleConfig);
diff --git a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryRuleStatementUpdaterTest.java b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryRuleStatementUpdaterTest.java
index 0832c7c54f5..c4b7441a75d 100644
--- a/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryRuleStatementUpdaterTest.java
+++ b/features/db-discovery/distsql/handler/src/test/java/org/apache/shardingsphere/dbdiscovery/distsql/handler/update/DropDatabaseDiscoveryRuleStatementUpdaterTest.java
@@ -54,29 +54,29 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class DropDatabaseDiscoveryRuleStatementUpdaterTest {
+class DropDatabaseDiscoveryRuleStatementUpdaterTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ShardingSphereDatabase database;
     
     @BeforeEach
-    public void init() {
+    void init() {
         when(database.getRuleMetaData()).thenReturn(new ShardingSphereRuleMetaData(Collections.emptyList()));
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutCurrentRule() {
+    void assertCheckSQLStatementWithoutCurrentRule() {
         assertThrows(MissingRequiredRuleException.class, () -> new DropDatabaseDiscoveryRuleStatementUpdater().checkSQLStatement(database, createSQLStatement(), null));
     }
     
     @Test
-    public void assertCheckSQLStatementWithoutToBeDroppedRules() {
+    void assertCheckSQLStatementWithoutToBeDroppedRules() {
         assertThrows(MissingRequiredRuleException.class, () -> new DropDatabaseDiscoveryRuleStatementUpdater().checkSQLStatement(
                 database, createSQLStatement(), new DatabaseDiscoveryRuleConfiguration(Collections.emptyList(), Collections.emptyMap(), Collections.emptyMap())));
     }
     
     @Test
-    public void assertCheckSQLStatementWithRuleInUsed() {
+    void assertCheckSQLStatementWithRuleInUsed() {
         when(database.getRuleMetaData()).thenReturn(mock(ShardingSphereRuleMetaData.class, RETURNS_DEEP_STUBS));
         ExportableRule exportableRule = mock(ExportableRule.class);
         when(exportableRule.getExportData()).thenReturn(getExportData());
@@ -109,7 +109,7 @@ public final class DropDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfiguration() {
+    void assertUpdateCurrentRuleConfiguration() {
         DatabaseDiscoveryRuleConfiguration databaseDiscoveryRuleConfig = createCurrentRuleConfiguration();
         assertTrue(new DropDatabaseDiscoveryRuleStatementUpdater().updateCurrentRuleConfiguration(createSQLStatement(), databaseDiscoveryRuleConfig));
         assertTrue(databaseDiscoveryRuleConfig.getDataSources().isEmpty());
@@ -118,7 +118,7 @@ public final class DropDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfigurationWithIfExists() {
+    void assertUpdateCurrentRuleConfigurationWithIfExists() {
         DatabaseDiscoveryRuleConfiguration databaseDiscoveryRuleConfig = createCurrentRuleConfiguration();
         DropDatabaseDiscoveryRuleStatement dropDatabaseDiscoveryRuleStatement = createSQLStatementWithIfExists();
         DropDatabaseDiscoveryRuleStatementUpdater updater = new DropDatabaseDiscoveryRuleStatementUpdater();
@@ -129,7 +129,7 @@ public final class DropDatabaseDiscoveryRuleStatementUpdaterTest {
     }
     
     @Test
-    public void assertUpdateCurrentRuleConfigurationWithInUsedDiscoveryType() {
+    void assertUpdateCurrentRuleConfigurationWithInUsedDiscoveryType() {
         DatabaseDiscoveryRuleConfiguration databaseDiscoveryRuleConfig = createMultipleCurrentRuleConfigurations();
         assertFalse(new DropDatabaseDiscoveryRuleStatementUpdater().updateCurrentRuleConfiguration(createSQLStatement(), databaseDiscoveryRuleConfig));
         assertThat(databaseDiscoveryRuleConfig.getDiscoveryTypes().size(), is(1));
diff --git a/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MGRDatabaseDiscoveryProviderTest.java b/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MGRDatabaseDiscoveryProviderTest.java
index cc56d4e9e5d..f11e4ce8b23 100644
--- a/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MGRDatabaseDiscoveryProviderTest.java
+++ b/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MGRDatabaseDiscoveryProviderTest.java
@@ -38,10 +38,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class MGRDatabaseDiscoveryProviderTest {
+class MGRDatabaseDiscoveryProviderTest {
     
     @Test
-    public void assertCheckEnvironment() throws SQLException {
+    void assertCheckEnvironment() throws SQLException {
         DatabaseDiscoveryProvider actual = TypedSPILoader.getService(DatabaseDiscoveryProvider.class, "MySQL.MGR", PropertiesBuilder.build(new Property("group-name", "foo_group")));
         actual.checkEnvironment("foo_db", Collections.singletonList(mockEnvironmentAvailableDataSource()));
     }
@@ -60,7 +60,7 @@ public final class MGRDatabaseDiscoveryProviderTest {
     }
     
     @Test
-    public void assertIsPrimaryInstance() throws SQLException {
+    void assertIsPrimaryInstance() throws SQLException {
         DatabaseDiscoveryProvider actual = TypedSPILoader.getService(DatabaseDiscoveryProvider.class, "MySQL.MGR");
         assertTrue(actual.isPrimaryInstance(mockPrimaryDataSource()));
     }
@@ -79,7 +79,7 @@ public final class MGRDatabaseDiscoveryProviderTest {
     }
     
     @Test
-    public void assertLoadReplicaStatus() throws SQLException {
+    void assertLoadReplicaStatus() throws SQLException {
         DataSource dataSource = mock(DataSource.class, RETURNS_DEEP_STUBS);
         when(dataSource.getConnection().getMetaData().getURL()).thenReturn("jdbc:mysql://127.0.0.1:3306/foo_ds");
         ReplicaDataSourceStatus actual = new MGRMySQLDatabaseDiscoveryProvider().loadReplicaStatus(dataSource);
diff --git a/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MySQLNormalReplicationDatabaseDiscoveryProviderTest.java b/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MySQLNormalReplicationDatabaseDiscoveryProviderTest.java
index 246a4e51d84..6f30d808556 100644
--- a/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MySQLNormalReplicationDatabaseDiscoveryProviderTest.java
+++ b/features/db-discovery/provider/mysql/src/test/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MySQLNormalReplicationDatabaseDiscoveryProviderTest.java
@@ -41,28 +41,28 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class MySQLNormalReplicationDatabaseDiscoveryProviderTest {
+class MySQLNormalReplicationDatabaseDiscoveryProviderTest {
     
     @Test
-    public void assertCheckEnvironmentNoPrimaryDataSource() {
+    void assertCheckEnvironmentNoPrimaryDataSource() {
         assertThrows(PrimaryDataSourceNotFoundException.class,
                 () -> new MySQLNormalReplicationDatabaseDiscoveryProvider().checkEnvironment("foo_db", Collections.singleton(mockDataSourceForReplicationInstances("ON"))));
     }
     
     @Test
-    public void assertCheckEnvironmentHasSinglePrimaryDataSource() throws SQLException {
+    void assertCheckEnvironmentHasSinglePrimaryDataSource() throws SQLException {
         new MySQLNormalReplicationDatabaseDiscoveryProvider().checkEnvironment("foo_db", Collections.singleton(mockDataSourceForReplicationInstances("OFF")));
     }
     
     @Test
-    public void assertCheckEnvironmentHasManyPrimaryDataSources() {
+    void assertCheckEnvironmentHasManyPrimaryDataSources() {
         assertThrows(DuplicatePrimaryDataSourceException.class,
                 () -> new MySQLNormalReplicationDatabaseDiscoveryProvider().checkEnvironment("foo_db", Arrays.asList(mockDataSourceForReplicationInstances("OFF"),
                         mockDataSourceForReplicationInstances("OFF"))));
     }
     
     @Test
-    public void assertIsPrimaryInstance() throws SQLException {
+    void assertIsPrimaryInstance() throws SQLException {
         assertTrue(new MySQLNormalReplicationDatabaseDiscoveryProvider().isPrimaryInstance(mockDataSourceForReplicationInstances("OFF")));
     }
     
@@ -82,7 +82,7 @@ public final class MySQLNormalReplicationDatabaseDiscoveryProviderTest {
     }
     
     @Test
-    public void assertLoadReplicaStatus() throws SQLException {
+    void assertLoadReplicaStatus() throws SQLException {
         DatabaseDiscoveryProvider provider = new MySQLNormalReplicationDatabaseDiscoveryProvider();
         provider.init(PropertiesBuilder.build(new Property("delay-milliseconds-threshold", "15000")));
         DataSource dataSource = mockDataSourceForReplicaStatus();
diff --git a/features/db-discovery/provider/opengauss/src/test/java/org/apache/shardingsphere/dbdiscovery/opengauss/OpenGaussNormalReplicationDatabaseDiscoveryProviderTest.java b/features/db-discovery/provider/opengauss/src/test/java/org/apache/shardingsphere/dbdiscovery/opengauss/OpenGaussNormalReplicationDatabaseDiscoveryProviderTest.java
index 742bede6c23..879218facf2 100644
--- a/features/db-discovery/provider/opengauss/src/test/java/org/apache/shardingsphere/dbdiscovery/opengauss/OpenGaussNormalReplicationDatabaseDiscoveryProviderTest.java
+++ b/features/db-discovery/provider/opengauss/src/test/java/org/apache/shardingsphere/dbdiscovery/opengauss/OpenGaussNormalReplicationDatabaseDiscoveryProviderTest.java
@@ -28,10 +28,10 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class OpenGaussNormalReplicationDatabaseDiscoveryProviderTest {
+class OpenGaussNormalReplicationDatabaseDiscoveryProviderTest {
     
     @Test
-    public void assertIsPrimaryInstance() throws SQLException {
+    void assertIsPrimaryInstance() throws SQLException {
         assertTrue(new OpenGaussNormalReplicationDatabaseDiscoveryProvider().isPrimaryInstance(mockDatSource()));
     }
     
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/AESEncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/AESEncryptAlgorithmTest.java
index b0df53f8946..872d2616e28 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/AESEncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/AESEncryptAlgorithmTest.java
@@ -33,40 +33,40 @@ import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 
-public final class AESEncryptAlgorithmTest {
+class AESEncryptAlgorithmTest {
     
     private StandardEncryptAlgorithm<Object, String> encryptAlgorithm;
     
     @SuppressWarnings("unchecked")
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         encryptAlgorithm = (StandardEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class, "AES", PropertiesBuilder.build(new Property("aes-key-value", "test")));
     }
     
     @Test
-    public void assertCreateNewInstanceWithoutAESKey() {
+    void assertCreateNewInstanceWithoutAESKey() {
         assertThrows(EncryptAlgorithmInitializationException.class, () -> TypedSPILoader.getService(EncryptAlgorithm.class, "AES"));
     }
     
     @Test
-    public void assertEncrypt() {
+    void assertEncrypt() {
         Object actual = encryptAlgorithm.encrypt("test", mock(EncryptContext.class));
         assertThat(actual, is("dSpPiyENQGDUXMKFMJPGWA=="));
     }
     
     @Test
-    public void assertEncryptNullValue() {
+    void assertEncryptNullValue() {
         assertNull(encryptAlgorithm.encrypt(null, mock(EncryptContext.class)));
     }
     
     @Test
-    public void assertDecrypt() {
+    void assertDecrypt() {
         Object actual = encryptAlgorithm.decrypt("dSpPiyENQGDUXMKFMJPGWA==", mock(EncryptContext.class));
         assertThat(actual.toString(), is("test"));
     }
     
     @Test
-    public void assertDecryptNullValue() {
+    void assertDecryptNullValue() {
         assertNull(encryptAlgorithm.decrypt(null, mock(EncryptContext.class)));
     }
 }
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/MD5EncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/MD5EncryptAlgorithmTest.java
index 5e6240251ec..384b9df192d 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/MD5EncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/MD5EncryptAlgorithmTest.java
@@ -31,34 +31,34 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.mockito.Mockito.mock;
 
-public final class MD5EncryptAlgorithmTest {
+class MD5EncryptAlgorithmTest {
     
     private StandardEncryptAlgorithm<Object, String> encryptAlgorithm;
     
     @SuppressWarnings("unchecked")
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         encryptAlgorithm = (StandardEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class, "MD5");
     }
     
     @Test
-    public void assertEncrypt() {
+    void assertEncrypt() {
         assertThat(encryptAlgorithm.encrypt("test", mock(EncryptContext.class)), is("098f6bcd4621d373cade4e832627b4f6"));
     }
     
     @Test
-    public void assertEncryptWithNullPlaintext() {
+    void assertEncryptWithNullPlaintext() {
         assertNull(encryptAlgorithm.encrypt(null, mock(EncryptContext.class)));
     }
     
     @Test
-    public void assertEncryptWhenConfigSalt() {
+    void assertEncryptWhenConfigSalt() {
         encryptAlgorithm.init(PropertiesBuilder.build(new Property("salt", "202cb962ac5907")));
         assertThat(encryptAlgorithm.encrypt("test", mock(EncryptContext.class)), is("0c243d2934937738f36514035d95344a"));
     }
     
     @Test
-    public void assertDecrypt() {
+    void assertDecrypt() {
         assertThat(encryptAlgorithm.decrypt("test", mock(EncryptContext.class)).toString(), is("test"));
     }
 }
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/RC4EncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/RC4EncryptAlgorithmTest.java
index 8d6327b2e5b..9259d799efa 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/RC4EncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/encrypt/RC4EncryptAlgorithmTest.java
@@ -36,39 +36,39 @@ import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 
-public final class RC4EncryptAlgorithmTest {
+class RC4EncryptAlgorithmTest {
     
     private StandardEncryptAlgorithm<Object, String> encryptAlgorithm;
     
     @SuppressWarnings("unchecked")
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         encryptAlgorithm = (StandardEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class, "RC4", PropertiesBuilder.build(new Property("rc4-key-value", "test-sharding")));
     }
     
     @Test
-    public void assertEncode() {
+    void assertEncode() {
         assertThat(encryptAlgorithm.encrypt("test", mock(EncryptContext.class)), is("4Tn7lQ=="));
     }
     
     @Test
-    public void assertEncryptNullValue() {
+    void assertEncryptNullValue() {
         assertNull(encryptAlgorithm.encrypt(null, mock(EncryptContext.class)));
     }
     
     @Test
-    public void assertKeyIsToLong() {
+    void assertKeyIsToLong() {
         assertThrows(EncryptAlgorithmInitializationException.class,
                 () -> encryptAlgorithm.init(PropertiesBuilder.build(new Property("rc4-key-value", IntStream.range(0, 100).mapToObj(each -> "test").collect(Collectors.joining())))));
     }
     
     @Test
-    public void assertDecode() {
+    void assertDecode() {
         assertThat(encryptAlgorithm.decrypt("4Tn7lQ==", mock(EncryptContext.class)).toString(), is("test"));
     }
     
     @Test
-    public void assertDecryptNullValue() {
+    void assertDecryptNullValue() {
         assertNull(encryptAlgorithm.decrypt(null, mock(EncryptContext.class)));
     }
 }
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/like/CharDigestLikeEncryptAlgorithmTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/like/CharDigestLikeEncryptAlgorithmTest.java
index e9b53a1d86a..330dac228aa 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/like/CharDigestLikeEncryptAlgorithmTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/algorithm/like/CharDigestLikeEncryptAlgorithmTest.java
@@ -31,7 +31,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.mockito.Mockito.mock;
 
-public final class CharDigestLikeEncryptAlgorithmTest {
+class CharDigestLikeEncryptAlgorithmTest {
     
     private LikeEncryptAlgorithm<Object, String> englishLikeEncryptAlgorithm;
     
@@ -41,7 +41,7 @@ public final class CharDigestLikeEncryptAlgorithmTest {
     
     @SuppressWarnings("unchecked")
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         englishLikeEncryptAlgorithm = (LikeEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class, "CHAR_DIGEST_LIKE");
         chineseLikeEncryptAlgorithm = (LikeEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class, "CHAR_DIGEST_LIKE");
         koreanLikeEncryptAlgorithm = (LikeEncryptAlgorithm<Object, String>) TypedSPILoader.getService(EncryptAlgorithm.class,
@@ -49,24 +49,24 @@ public final class CharDigestLikeEncryptAlgorithmTest {
     }
     
     @Test
-    public void assertEncrypt() {
+    void assertEncrypt() {
         assertThat(englishLikeEncryptAlgorithm.encrypt("1234567890%abcdefghijklmnopqrstuvwxyz%ABCDEFGHIJKLMNOPQRSTUVWXYZ",
                 mock(EncryptContext.class)), is("0145458981%`adedehihilmlmpqpqtutuxyxy%@ADEDEHIHILMLMPQPQTUTUXYXY"));
         assertThat(englishLikeEncryptAlgorithm.encrypt("_1234__5678__", mock(EncryptContext.class)), is("_0145__4589__"));
     }
     
     @Test
-    public void assertEncryptWithChineseChar() {
+    void assertEncryptWithChineseChar() {
         assertThat(chineseLikeEncryptAlgorithm.encrypt("中国", mock(EncryptContext.class)), is("婝估"));
     }
     
     @Test
-    public void assertEncryptWithKoreanChar() {
+    void assertEncryptWithKoreanChar() {
         assertThat(koreanLikeEncryptAlgorithm.encrypt("한국", mock(EncryptContext.class)), is("각가"));
     }
     
     @Test
-    public void assertEncryptWithNullPlaintext() {
+    void assertEncryptWithNullPlaintext() {
         assertNull(englishLikeEncryptAlgorithm.encrypt(null, mock(EncryptContext.class)));
     }
 }
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/EncryptRuleConfigurationCheckerTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/EncryptRuleConfigurationCheckerTest.java
index ca68108c2f8..b6f08753137 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/EncryptRuleConfigurationCheckerTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/checker/EncryptRuleConfigurationCheckerTest.java
@@ -33,11 +33,11 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class EncryptRuleConfigurationCheckerTest {
+class EncryptRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertCheckWhenConfigValidConfiguration() {
+    void assertCheckWhenConfigValidConfiguration() {
         EncryptRuleConfiguration config = createValidConfiguration();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         checker.check("test", config, Collections.emptyMap(), Collections.emptyList());
@@ -53,7 +53,7 @@ public final class EncryptRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertCheckWhenConfigInvalidCipherColumn() {
+    void assertCheckWhenConfigInvalidCipherColumn() {
         EncryptRuleConfiguration config = createInvalidCipherColumnConfig();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         assertThrows(EncryptEncryptorNotFoundException.class, () -> checker.check("test", config, Collections.emptyMap(), Collections.emptyList()));
@@ -69,7 +69,7 @@ public final class EncryptRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertCheckWhenConfigInvalidAssistColumn() {
+    void assertCheckWhenConfigInvalidAssistColumn() {
         EncryptRuleConfiguration config = createInvalidAssistColumnConfig();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         assertThrows(EncryptEncryptorNotFoundException.class, () -> checker.check("test", config, Collections.emptyMap(), Collections.emptyList()));
@@ -86,7 +86,7 @@ public final class EncryptRuleConfigurationCheckerTest {
     
     @SuppressWarnings({"rawtypes", "unchecked"})
     @Test
-    public void assertCheckWhenConfigInvalidLikeColumn() {
+    void assertCheckWhenConfigInvalidLikeColumn() {
         EncryptRuleConfiguration config = createInvalidLikeColumnConfig();
         RuleConfigurationChecker checker = OrderedSPILoader.getServicesByClass(RuleConfigurationChecker.class, Collections.singleton(config.getClass())).get(config.getClass());
         assertThrows(EncryptEncryptorNotFoundException.class, () -> checker.check("test", config, Collections.emptyMap(), Collections.emptyList()));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/context/EncryptContextBuilderTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/context/EncryptContextBuilderTest.java
index 0e69168d727..8d0fc3e4283 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/context/EncryptContextBuilderTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/context/EncryptContextBuilderTest.java
@@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 
-public final class EncryptContextBuilderTest {
+class EncryptContextBuilderTest {
     
     @Test
-    public void assertBuildWhenNotConfigDateType() {
+    void assertBuildWhenNotConfigDateType() {
         EncryptContext actual = EncryptContextBuilder.build("encrypt_db", "encrypt_db", "test", "cipher");
         assertThat(actual.getDatabaseName(), is("encrypt_db"));
         assertThat(actual.getTableName(), is("test"));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java
index f478bb2ccea..500e62f8c27 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java
@@ -46,7 +46,7 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class EncryptResultDecoratorEngineTest {
+class EncryptResultDecoratorEngineTest {
     
     @Mock
     private EncryptRule rule;
@@ -55,14 +55,14 @@ public final class EncryptResultDecoratorEngineTest {
     private ShardingSphereDatabase database;
     
     @Test
-    public void assertNewInstanceWithSelectStatement() {
+    void assertNewInstanceWithSelectStatement() {
         EncryptResultDecoratorEngine engine = (EncryptResultDecoratorEngine) OrderedSPILoader.getServices(ResultProcessEngine.class, Collections.singleton(rule)).get(rule);
         ResultDecorator<?> actual = engine.newInstance(database, rule, mock(ConfigurationProperties.class), mock(SelectStatementContext.class, RETURNS_DEEP_STUBS));
         assertThat(actual, instanceOf(EncryptDQLResultDecorator.class));
     }
     
     @Test
-    public void assertNewInstanceWithDALStatement() {
+    void assertNewInstanceWithDALStatement() {
         SQLStatementContext<ExplainStatement> sqlStatementContext = mock(ExplainStatementContext.class);
         when(sqlStatementContext.getSqlStatement()).thenReturn(mock(MySQLExplainStatement.class));
         EncryptResultDecoratorEngine engine = (EncryptResultDecoratorEngine) OrderedSPILoader.getServices(ResultProcessEngine.class, Collections.singleton(rule)).get(rule);
@@ -71,7 +71,7 @@ public final class EncryptResultDecoratorEngineTest {
     }
     
     @Test
-    public void assertNewInstanceWithOtherStatement() {
+    void assertNewInstanceWithOtherStatement() {
         EncryptResultDecoratorEngine engine = (EncryptResultDecoratorEngine) OrderedSPILoader.getServices(ResultProcessEngine.class, Collections.singleton(rule)).get(rule);
         ResultDecorator<?> actual = engine.newInstance(database, rule, mock(ConfigurationProperties.class), mock(InsertStatementContext.class));
         assertThat(actual, instanceOf(TransparentResultDecorator.class));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
index 0f72566a8b8..2b89023d84e 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
@@ -48,7 +48,7 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class EncryptDALResultDecoratorTest {
+class EncryptDALResultDecoratorTest {
     
     @Mock
     private EncryptRule rule;
@@ -57,7 +57,7 @@ public final class EncryptDALResultDecoratorTest {
     private SQLStatementContext<?> sqlStatementContext;
     
     @Test
-    public void assertMergedResultWithDescribeStatement() {
+    void assertMergedResultWithDescribeStatement() {
         sqlStatementContext = getDescribeStatementContext();
         EncryptDALResultDecorator encryptDALResultDecorator = new EncryptDALResultDecorator();
         assertThat(encryptDALResultDecorator.decorate(mock(QueryResult.class), sqlStatementContext, rule), instanceOf(MergedEncryptShowColumnsMergedResult.class));
@@ -65,7 +65,7 @@ public final class EncryptDALResultDecoratorTest {
     }
     
     @Test
-    public void assertMergedResultWithShowColumnsStatement() {
+    void assertMergedResultWithShowColumnsStatement() {
         sqlStatementContext = getShowColumnsStatementContext();
         EncryptDALResultDecorator encryptDALResultDecorator = new EncryptDALResultDecorator();
         assertThat(encryptDALResultDecorator.decorate(mock(QueryResult.class), sqlStatementContext, rule), instanceOf(MergedEncryptShowColumnsMergedResult.class));
@@ -73,7 +73,7 @@ public final class EncryptDALResultDecoratorTest {
     }
     
     @Test
-    public void assertMergedResultWithShowCreateTableStatement() {
+    void assertMergedResultWithShowCreateTableStatement() {
         sqlStatementContext = getShowCreateTableStatementContext();
         EncryptDALResultDecorator encryptDALResultDecorator = new EncryptDALResultDecorator();
         assertThat(encryptDALResultDecorator.decorate(mock(QueryResult.class), sqlStatementContext, rule), instanceOf(MergedEncryptShowCreateTableMergedResult.class));
@@ -81,7 +81,7 @@ public final class EncryptDALResultDecoratorTest {
     }
     
     @Test
-    public void assertMergedResultWithOtherStatement() {
+    void assertMergedResultWithOtherStatement() {
         sqlStatementContext = mock(SQLStatementContext.class);
         EncryptDALResultDecorator encryptDALResultDecorator = new EncryptDALResultDecorator();
         assertThat(encryptDALResultDecorator.decorate(mock(QueryResult.class), sqlStatementContext, rule), instanceOf(TransparentMergedResult.class));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowColumnsMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowColumnsMergedResultTest.java
index f2b080cf39d..ea9b40ea162 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowColumnsMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowColumnsMergedResultTest.java
@@ -48,38 +48,38 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class DecoratedEncryptShowColumnsMergedResultTest {
+class DecoratedEncryptShowColumnsMergedResultTest {
     
     @Mock
     private MergedResult mergedResult;
     
     @Test
-    public void assertNextWithNotHasNext() throws SQLException {
+    void assertNextWithNotHasNext() throws SQLException {
         assertFalse(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWithHasNext() throws SQLException {
+    void assertNextWithHasNext() throws SQLException {
         when(mergedResult.next()).thenReturn(true);
         assertTrue(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWithAssistedQuery() throws SQLException {
+    void assertNextWithAssistedQuery() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(1, String.class)).thenReturn("user_id_assisted");
         assertFalse(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mockEncryptRule()).next());
     }
     
     @Test
-    public void assertNextWithLikeQuery() throws SQLException {
+    void assertNextWithLikeQuery() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(1, String.class)).thenReturn("user_id_like");
         assertFalse(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mockEncryptRule()).next());
     }
     
     @Test
-    public void assertNextWithLikeQueryAndMultiColumns() throws SQLException {
+    void assertNextWithLikeQueryAndMultiColumns() throws SQLException {
         when(mergedResult.next()).thenReturn(true, true, true, false);
         when(mergedResult.getValue(1, String.class)).thenReturn("user_id_like", "order_id", "content");
         DecoratedEncryptShowColumnsMergedResult actual = createDecoratedEncryptShowColumnsMergedResult(mergedResult, mockEncryptRule());
@@ -89,7 +89,7 @@ public final class DecoratedEncryptShowColumnsMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWithCipherColumn() throws SQLException {
+    void assertGetValueWithCipherColumn() throws SQLException {
         when(mergedResult.getValue(1, String.class)).thenReturn("user_id_cipher");
         assertThat(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mockEncryptRule()).getValue(1, String.class), is("user_id"));
     }
@@ -106,30 +106,30 @@ public final class DecoratedEncryptShowColumnsMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWithOtherColumn() throws SQLException {
+    void assertGetValueWithOtherColumn() throws SQLException {
         when(mergedResult.getValue(1, String.class)).thenReturn("user_id_assisted");
         assertThat(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).getValue(1, String.class), is("user_id_assisted"));
     }
     
     @Test
-    public void assertGetValueWithOtherIndex() throws SQLException {
+    void assertGetValueWithOtherIndex() throws SQLException {
         when(mergedResult.getValue(2, String.class)).thenReturn("order_id");
         assertThat(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).getValue(2, String.class), is("order_id"));
     }
     
     @Test
-    public void assertWasNull() throws SQLException {
+    void assertWasNull() throws SQLException {
         assertFalse(createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).wasNull());
     }
     
     @Test
-    public void assertGetCalendarValue() {
+    void assertGetCalendarValue() {
         assertThrows(SQLFeatureNotSupportedException.class,
                 () -> createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).getCalendarValue(1, Date.class, Calendar.getInstance()));
     }
     
     @Test
-    public void assertGetInputStream() {
+    void assertGetInputStream() {
         assertThrows(SQLFeatureNotSupportedException.class, () -> createDecoratedEncryptShowColumnsMergedResult(mergedResult, mock(EncryptRule.class)).getInputStream(1, "asc"));
     }
     
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowCreateTableMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowCreateTableMergedResultTest.java
index d06149aa0f4..3f16c188723 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowCreateTableMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/DecoratedEncryptShowCreateTableMergedResultTest.java
@@ -45,24 +45,24 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class DecoratedEncryptShowCreateTableMergedResultTest {
+class DecoratedEncryptShowCreateTableMergedResultTest {
     
     @Mock
     private MergedResult mergedResult;
     
     @Test
-    public void assertNextWhenNextExist() throws SQLException {
+    void assertNextWhenNextExist() throws SQLException {
         assertFalse(createDecoratedEncryptShowCreateTableMergedResult(mergedResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWhenNextNotExist() throws SQLException {
+    void assertNextWhenNextNotExist() throws SQLException {
         when(mergedResult.next()).thenReturn(true);
         assertTrue(createDecoratedEncryptShowCreateTableMergedResult(mergedResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertGetValueWhenConfigPlainColumn() throws SQLException {
+    void assertGetValueWhenConfigPlainColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -75,7 +75,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigAssistedQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigAssistedQueryColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -88,7 +88,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigLikeQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigLikeQueryColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -102,7 +102,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigPlainColumnAndAssistedQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigPlainColumnAndAssistedQueryColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, `user_id` VARCHAR(100) NOT NULL, "
@@ -115,7 +115,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigPlainColumnAndLikeQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigPlainColumnAndLikeQueryColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, `user_id` VARCHAR(100) NOT NULL, "
@@ -136,7 +136,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigMultiColumn() throws SQLException {
+    void assertGetValueWhenConfigMultiColumn() throws SQLException {
         when(mergedResult.next()).thenReturn(true).thenReturn(false);
         when(mergedResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, `user_id` VARCHAR(100) NOT NULL, `user_id_like` VARCHAR(100) NOT NULL, "
@@ -152,7 +152,7 @@ public final class DecoratedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertWasNull() throws SQLException {
+    void assertWasNull() throws SQLException {
         assertFalse(createDecoratedEncryptShowCreateTableMergedResult(mergedResult, mock(EncryptRule.class)).wasNull());
     }
     
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowColumnsMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowColumnsMergedResultTest.java
index e9f0b126927..08f8093982c 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowColumnsMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowColumnsMergedResultTest.java
@@ -48,38 +48,38 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class MergedEncryptShowColumnsMergedResultTest {
+class MergedEncryptShowColumnsMergedResultTest {
     
     @Mock
     private QueryResult queryResult;
     
     @Test
-    public void assertNextWithNotHasNext() throws SQLException {
+    void assertNextWithNotHasNext() throws SQLException {
         assertFalse(createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWithHasNext() throws SQLException {
+    void assertNextWithHasNext() throws SQLException {
         when(queryResult.next()).thenReturn(true);
         assertTrue(createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWithAssistedQuery() throws SQLException {
+    void assertNextWithAssistedQuery() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(1, String.class)).thenReturn("user_id_assisted");
         assertFalse(createMergedEncryptColumnsMergedResult(queryResult, mockEncryptRule()).next());
     }
     
     @Test
-    public void assertNextWithLikeQuery() throws SQLException {
+    void assertNextWithLikeQuery() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(1, String.class)).thenReturn("user_id_like");
         assertFalse(createMergedEncryptColumnsMergedResult(queryResult, mockEncryptRule()).next());
     }
     
     @Test
-    public void assertNextWithLikeQueryAndMultiColumns() throws SQLException {
+    void assertNextWithLikeQueryAndMultiColumns() throws SQLException {
         when(queryResult.next()).thenReturn(true, true, true, false);
         when(queryResult.getValue(1, String.class)).thenReturn("user_id_like", "order_id", "content");
         MergedEncryptShowColumnsMergedResult actual = createMergedEncryptColumnsMergedResult(queryResult, mockEncryptRule());
@@ -89,7 +89,7 @@ public final class MergedEncryptShowColumnsMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWithCipherColumn() throws SQLException {
+    void assertGetValueWithCipherColumn() throws SQLException {
         when(queryResult.getValue(1, String.class)).thenReturn("user_id_cipher");
         assertThat(createMergedEncryptColumnsMergedResult(queryResult, mockEncryptRule()).getValue(1, String.class), is("user_id"));
     }
@@ -106,30 +106,30 @@ public final class MergedEncryptShowColumnsMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWithOtherColumn() throws SQLException {
+    void assertGetValueWithOtherColumn() throws SQLException {
         when(queryResult.getValue(1, String.class)).thenReturn("user_id_assisted");
         assertThat(createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).getValue(1, String.class), is("user_id_assisted"));
     }
     
     @Test
-    public void assertGetValueWithOtherIndex() throws SQLException {
+    void assertGetValueWithOtherIndex() throws SQLException {
         when(queryResult.getValue(2, String.class)).thenReturn("user_id");
         assertThat(createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).getValue(2, String.class), is("user_id"));
     }
     
     @Test
-    public void assertWasNull() throws SQLException {
+    void assertWasNull() throws SQLException {
         assertFalse(createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).wasNull());
     }
     
     @Test
-    public void assertGetCalendarValue() {
+    void assertGetCalendarValue() {
         assertThrows(SQLFeatureNotSupportedException.class,
                 () -> createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).getCalendarValue(1, Date.class, Calendar.getInstance()));
     }
     
     @Test
-    public void assertGetInputStream() {
+    void assertGetInputStream() {
         assertThrows(SQLFeatureNotSupportedException.class, () -> createMergedEncryptColumnsMergedResult(queryResult, mock(EncryptRule.class)).getInputStream(1, "asc"));
     }
     
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowCreateTableMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowCreateTableMergedResultTest.java
index b1d207ed985..631ebd0ff55 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowCreateTableMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/show/MergedEncryptShowCreateTableMergedResultTest.java
@@ -44,24 +44,24 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class MergedEncryptShowCreateTableMergedResultTest {
+class MergedEncryptShowCreateTableMergedResultTest {
     
     @Mock
     private QueryResult queryResult;
     
     @Test
-    public void assertNextWhenNextExist() throws SQLException {
+    void assertNextWhenNextExist() throws SQLException {
         assertFalse(createMergedEncryptShowCreateTableMergedResult(queryResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertNextWhenNextNotExist() throws SQLException {
+    void assertNextWhenNextNotExist() throws SQLException {
         when(queryResult.next()).thenReturn(true);
         assertTrue(createMergedEncryptShowCreateTableMergedResult(queryResult, mock(EncryptRule.class)).next());
     }
     
     @Test
-    public void assertGetValueWhenConfigPlainColumn() throws SQLException {
+    void assertGetValueWhenConfigPlainColumn() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -74,7 +74,7 @@ public final class MergedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigAssistedQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigAssistedQueryColumn() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -87,7 +87,7 @@ public final class MergedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigLikeQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigLikeQueryColumn() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, "
@@ -101,7 +101,7 @@ public final class MergedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWhenConfigPlainColumnAndAssistedQueryColumn() throws SQLException {
+    void assertGetValueWhenConfigPlainColumnAndAssistedQueryColumn() throws SQLException {
         when(queryResult.next()).thenReturn(true).thenReturn(false);
         when(queryResult.getValue(2, String.class)).thenReturn(
                 "CREATE TABLE `t_encrypt` (`id` INT NOT NULL, `user_id_cipher` VARCHAR(100) NOT NULL, `user_id` VARCHAR(100) NOT NULL, "
@@ -121,7 +121,7 @@ public final class MergedEncryptShowCreateTableMergedResultTest {
     }
     
     @Test
-    public void assertWasNull() throws SQLException {
+    void assertWasNull() throws SQLException {
         assertFalse(createMergedEncryptShowCreateTableMergedResult(queryResult, mock(EncryptRule.class)).wasNull());
     }
     
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptAlgorithmMetaDataTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptAlgorithmMetaDataTest.java
index b29b4fbee89..1c47cd58625 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptAlgorithmMetaDataTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptAlgorithmMetaDataTest.java
@@ -55,7 +55,7 @@ import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
 @MockitoSettings(strictness = Strictness.LENIENT)
-public final class EncryptAlgorithmMetaDataTest {
+class EncryptAlgorithmMetaDataTest {
     
     @Mock(answer = Answers.RETURNS_DEEP_STUBS)
     private ShardingSphereDatabase database;
@@ -81,7 +81,7 @@ public final class EncryptAlgorithmMetaDataTest {
     private StandardEncryptAlgorithm<?, ?> encryptAlgorithm;
     
     @BeforeEach
-    public void setUp() {
+    void setUp() {
         when(selectStatementContext.getProjectionsContext()).thenReturn(projectionsContext);
         when(projectionsContext.getExpandProjections()).thenReturn(Collections.singletonList(columnProjection));
         when(columnProjection.getName()).thenReturn("id");
@@ -94,7 +94,7 @@ public final class EncryptAlgorithmMetaDataTest {
     }
     
     @Test
-    public void assertFindEncryptContextByMetaData() {
+    void assertFindEncryptContextByMetaData() {
         Map<String, String> columnTableNames = new HashMap<>();
         columnTableNames.put(columnProjection.getExpression(), "t_order");
         when(tablesContext.findTableNamesByColumnProjection(Collections.singletonList(columnProjection), schema)).thenReturn(columnTableNames);
@@ -107,7 +107,7 @@ public final class EncryptAlgorithmMetaDataTest {
     }
     
     @Test
-    public void assertFindEncryptContextByStatementContext() {
+    void assertFindEncryptContextByStatementContext() {
         when(tablesContext.findTableNamesByColumnProjection(Collections.singletonList(columnProjection), schema)).thenReturn(Collections.emptyMap());
         when(tablesContext.getTableNames()).thenReturn(Arrays.asList("t_user", "t_user_item", "t_order_item"));
         when(encryptRule.findEncryptor("t_order_item", "id")).thenReturn(Optional.of(encryptAlgorithm));
@@ -120,7 +120,7 @@ public final class EncryptAlgorithmMetaDataTest {
     }
     
     @Test
-    public void assertFindEncryptContextWhenColumnProjectionIsNotExist() {
+    void assertFindEncryptContextWhenColumnProjectionIsNotExist() {
         when(projectionsContext.getExpandProjections()).thenReturn(Collections.singletonList(mock(DerivedProjection.class)));
         EncryptAlgorithmMetaData encryptAlgorithmMetaData = new EncryptAlgorithmMetaData(database, encryptRule, selectStatementContext);
         Optional<EncryptContext> actual = encryptAlgorithmMetaData.findEncryptContext(1);
@@ -129,7 +129,7 @@ public final class EncryptAlgorithmMetaDataTest {
     
     @SuppressWarnings("rawtypes")
     @Test
-    public void assertFindEncryptor() {
+    void assertFindEncryptor() {
         when(encryptRule.findEncryptor("t_order", "id")).thenReturn(Optional.of(encryptAlgorithm));
         EncryptAlgorithmMetaData encryptAlgorithmMetaData = new EncryptAlgorithmMetaData(database, encryptRule, selectStatementContext);
         Optional<StandardEncryptAlgorithm> actualEncryptor = encryptAlgorithmMetaData.findEncryptor("t_order", "id");
@@ -138,7 +138,7 @@ public final class EncryptAlgorithmMetaDataTest {
     }
     
     @Test
-    public void assertIsQueryWithCipherColumn() {
+    void assertIsQueryWithCipherColumn() {
         when(encryptRule.isQueryWithCipherColumn("t_order", "id")).thenReturn(true);
         EncryptAlgorithmMetaData encryptAlgorithmMetaData = new EncryptAlgorithmMetaData(database, encryptRule, selectStatementContext);
         assertTrue(encryptAlgorithmMetaData.isQueryWithCipherColumn("t_order", "id"));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecoratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecoratorTest.java
index bec633042d0..e477bd214da 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecoratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptDQLResultDecoratorTest.java
@@ -29,10 +29,10 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class EncryptDQLResultDecoratorTest {
+class EncryptDQLResultDecoratorTest {
     
     @Test
-    public void assertDecorateQueryResult() throws SQLException {
+    void assertDecorateQueryResult() throws SQLException {
         QueryResult queryResult = mock(QueryResult.class);
         when(queryResult.next()).thenReturn(true);
         EncryptDQLResultDecorator decorator = new EncryptDQLResultDecorator(mock(EncryptAlgorithmMetaData.class));
@@ -41,7 +41,7 @@ public final class EncryptDQLResultDecoratorTest {
     }
     
     @Test
-    public void assertDecorateMergedResult() throws SQLException {
+    void assertDecorateMergedResult() throws SQLException {
         MergedResult mergedResult = mock(MergedResult.class);
         when(mergedResult.next()).thenReturn(true);
         EncryptDQLResultDecorator decorator = new EncryptDQLResultDecorator(mock(EncryptAlgorithmMetaData.class));
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
index 448519efd3d..575bebc30a3 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
@@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 @ExtendWith(MockitoExtension.class)
-public final class EncryptMergedResultTest {
+class EncryptMergedResultTest {
     
     @Mock
     private EncryptAlgorithmMetaData metaData;
@@ -50,19 +50,19 @@ public final class EncryptMergedResultTest {
     private MergedResult mergedResult;
     
     @Test
-    public void assertNext() throws SQLException {
+    void assertNext() throws SQLException {
         assertFalse(new EncryptMergedResult(metaData, mergedResult).next());
     }
     
     @Test
-    public void assertGetValueWithoutEncryptContext() throws SQLException {
+    void assertGetValueWithoutEncryptContext() throws SQLException {
         when(mergedResult.getValue(1, String.class)).thenReturn("VALUE");
         when(metaData.findEncryptContext(1)).thenReturn(Optional.empty());
         assertThat(new EncryptMergedResult(metaData, mergedResult).getValue(1, String.class), is("VALUE"));
     }
     
     @Test
-    public void assertGetValueWithQueryWithPlainColumn() throws SQLException {
+    void assertGetValueWithQueryWithPlainColumn() throws SQLException {
         when(mergedResult.getValue(1, String.class)).thenReturn("VALUE");
         EncryptContext encryptContext = EncryptContextBuilder.build(DefaultDatabase.LOGIC_NAME, DefaultDatabase.LOGIC_NAME, "t_encrypt", "order_id");
         when(metaData.findEncryptContext(1)).thenReturn(Optional.of(encryptContext));
@@ -70,7 +70,7 @@ public final class EncryptMergedResultTest {
     }
     
     @Test
-    public void assertGetValueWithQueryWithCipherColumnAndMismatchedEncryptor() throws SQLException {
+    void assertGetValueWithQueryWithCipherColumnAndMismatchedEncryptor() throws SQLException {
         when(mergedResult.getValue(1, String.class)).thenReturn("VALUE");
         EncryptContext encryptContext = EncryptContextBuilder.build(DefaultDatabase.LOGIC_NAME, DefaultDatabase.LOGIC_NAME, "t_encrypt", "order_id");
         when(metaData.findEncryptContext(1)).thenReturn(Optional.of(encryptContext));
@@ -81,7 +81,7 @@ public final class EncryptMergedResultTest {
     
     @SuppressWarnings("unchecked")
     @Test
-    public void assertGetValueWithQueryWithCipherColumnAndMatchedEncryptorWithNotNullCiphertext() throws SQLException {
+    void assertGetValueWithQueryWithCipherColumnAndMatchedEncryptorWithNotNullCiphertext() throws SQLException {
         when(mergedResult.getValue(1, Object.class)).thenReturn("VALUE");
         StandardEncryptAlgorithm<String, String> encryptAlgorithm = mock(StandardEncryptAlgorithm.class);
         EncryptContext encryptContext = EncryptContextBuilder.build(DefaultDatabase.LOGIC_NAME, DefaultDatabase.LOGIC_NAME, "t_encrypt", "order_id");
@@ -94,7 +94,7 @@ public final class EncryptMergedResultTest {
     
     @SuppressWarnings("unchecked")
     @Test
-    public void assertGetValueWithQueryWithCipherColumnAndMatchedEncryptorWithNullCiphertext() throws SQLException {
+    void assertGetValueWithQueryWithCipherColumnAndMatchedEncryptorWithNullCiphertext() throws SQLException {
         StandardEncryptAlgorithm<String, String> encryptAlgorithm = mock(StandardEncryptAlgorithm.class);
         EncryptContext encryptContext = EncryptContextBuilder.build(DefaultDatabase.LOGIC_NAME, DefaultDatabase.LOGIC_NAME, "t_encrypt", "order_id");
         when(metaData.findEncryptContext(1)).thenReturn(Optional.of(encryptContext));
@@ -104,21 +104,21 @@ public final class EncryptMergedResultTest {
     }
     
     @Test
-    public void assertGetCalendarValue() throws SQLException {
+    void assertGetCalendarValue() throws SQLException {
         Calendar calendar = Calendar.getInstance();
         when(mergedResult.getCalendarValue(1, Date.class, calendar)).thenReturn(new Date(0L));
         assertThat(new EncryptMergedResult(metaData, mergedResult).getCalendarValue(1, Date.class, calendar), is(new Date(0L)));
     }
     
     @Test
-    public void assertGetInputStream() throws SQLException {
+    void assertGetInputStream() throws SQLException {
         InputStream inputStream = mock(InputStream.class);
         when(mergedResult.getInputStream(1, "asc")).thenReturn(inputStream);
         assertThat(new EncryptMergedResult(metaData, mergedResult).getInputStream(1, "asc"), is(inputStream));
     }
     
     @Test
-    public void assertWasNull() throws SQLException {
+    void assertWasNull() throws SQLException {
         assertFalse(new EncryptMergedResult(metaData, mergedResult).wasNull());
     }
 }
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
index 11e333d4c8b..cb534af7506 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataReviseEngineTest.java
@@ -40,12 +40,12 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class EncryptMetaDataReviseEngineTest {
+class EncryptMetaDataReviseEngineTest {
     
     private static final String TABLE_NAME = "t_encrypt";
     
     @Test
-    public void assertRevise() {
+    void assertRevise() {
         Map<String, SchemaMetaData> schemaMetaData = Collections.singletonMap(
                 DefaultDatabase.LOGIC_NAME, new SchemaMetaData(DefaultDatabase.LOGIC_NAME, Collections.singleton(createTableMetaData())));
         TableMetaData actual = new MetaDataReviseEngine(Collections.singleton(mockEncryptRule())).revise(
diff --git a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/impl/EncryptAlterTableTokenGeneratorTest.java b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/impl/EncryptAlterTableTokenGeneratorTest.java
index 09a7c72cd38..18c2332fa41 100644
--- a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/impl/EncryptAlterTableTokenGeneratorTest.java
+++ b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/rewrite/impl/EncryptAlterTableTokenGeneratorTest.java
@@ -48,12 +48,12 @@ import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-public final class EncryptAlterTableTokenGeneratorTest {
+class EncryptAlterTableTokenGeneratorTest {
     
     private EncryptAlterTableTokenGenerator generator;
     
     @BeforeEach
-    public void setup() {
+    void setup() {
         generator = new EncryptAlterTableTokenGenerator();
         generator.setEncryptRule(mockEncryptRule());
     }
@@ -85,7 +85,7 @@ public final class EncryptAlterTableTokenGeneratorTest {
     }
     
     @Test
-    public void assertAddColumnGenerateSQLTokens() {
+    void assertAddColumnGenerateSQLTokens() {
         Collection<SQLToken> sqlTokens = generator.generateSQLTokens(buildAddColumnStatementContext());
         assertThat(sqlTokens.size(), is(5));
         Iterator<SQLToken> iterator = sqlTokens.iterator();
@@ -118,7 +118,7 @@ public final class EncryptAlterTableTokenGeneratorTest {
     }
     
     @Test
-    public void assertModifyColumnGenerateSQLTokens() {
+    void assertModifyColumnGenerateSQLTokens() {
         Collection<SQLToken> sqlTokens = generator.generateSQLTokens(buildModifyColumnStatementContext());
         assertThat(sqlTokens.size(), is(5));
         Iterator<SQLToken> iterator = sqlTokens.iterator();
@@ -151,7 +151,7 @@ public final class EncryptAlterTableTokenGeneratorTest {
     }
     
     @Test
-    public void assertChangeColumnGenerateSQLTokens() {
+    void assertChangeColumnGenerateSQLTokens() {
         Collection<SQLToken> sqlTokens = generator.generateSQLTokens(buildChangeColumnStatementContext());
... 54900 lines suppressed ...