You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_uniqueness_validator.rb
    path of file: ./repos/client_side_validations/test/active_record/cases
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'active_record/cases/test_base'

module ActiveRecord
  class UniquenessValidatorTest < ClientSideValidations::ActiveRecordTestBase
    def test_uniqueness_client_side_hash
      expected_hash = { message: 'has alr
    
    def test_uniqueness_client_side_hash_with_multiple_scope_items
      @user.stubs(:age).returns(30)
      @user.stubs(:title).returns('test title')
      expected_hash = { message: 'has already been taken', scope: { age: 30, title: 'test title' } }
      result_hash = UniquenessValidator.new(attributes: [:name], scope: %i[age title]).client_side_hash(@user, :name)

      assert_equal expected_hash, result_hash
    end