@Override
    public void check(final EncryptRule encryptRule, final ShardingSphereSchema schema, final SQLStatementContext sqlStatementContext) {
        ShardingSpherePreconditions.checkState(JoinConditionsEncryptorComparator.isSame(((WhereAvailable) sqlStatementContext).getJoinConditions(), encryptRule),
                () -> new UnsupportedSQLOperationException("Can not use different encryptor in join condition"));
        check(encryptRule, schema, (WhereAvailable) sqlStatementContext);
    }
@Test
    void assertGenerateSQLTokensWhenJoinConditionUseDifferentEncryptor() {
        assertThrows(UnsupportedSQLOperationException.class,
                () -> new EncryptPredicateColumnSupportedChecker().check(EncryptGeneratorFixtureBuilder.createEncryptRule(), null, EncryptGeneratorFixtureBuilder.createSelectStatementContext()));
    }