shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/statement/distsql/ral/impl/update/StopScalingSourceWritingStatementAssert.java
/**
     * Assert stop scaling source writing statement is correct with expected parser result.
     *
     * @param assertContext assert context
     * @param actual actual stop scaling source writing statement
     * @param expected expected stop scaling source writing statement test case
     */
Assert stop scaling source writing statement is correct with expected parser result.
@param assertContext assert context
@param actual actual stop scaling source writing statement
@param expected expected stop scaling source writing statement test case
Assert stop scaling source writing statement is correct with expected parser result . @param assertContext assert context @param actual actual stop scaling source writing statement @param expected expected stop scaling source writing statement test case
public static void assertIs(final SQLCaseAssertContext assertContext, final StopScalingSourceWritingStatement actual, final StopScalingSourceWritingStatementTestCase expected) {
        if (null == expected) {
            assertNull(assertContext.getText("Actual statement should not exist."), actual);
        } else {
            assertNotNull(assertContext.getText("Actual statement should exist."), actual);
            assertJobIds(assertContext, actual.getJobId(), expected.getJobIds());
        }
    }
public static void assertIs ( final SQLCaseAssertContext assertContext , final StopScalingSourceWritingStatement actual , final StopScalingSourceWritingStatementTestCase expected ) { if ( null == expected ) { assertNull ( assertContext . getText ( "Actual statement should not exist." ) , actual ) ; } else { assertNotNull ( assertContext . getText ( "Actual statement should exist." ) , actual ) ; assertJobIds ( assertContext , actual . getJobId ( ) , expected . getJobIds ( ) ) ; } }
Assert stop scaling source writing statement is correct with expected parser result.
Assert stop scaling source writing statement is correct with expected parser result .