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: migration_testing_helpers.rb
    path of file: ./repos/gitlabhq/spec/support/helpers/database
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Database
  module MigrationTestingHelpers
    def define_background_migration(na
    
    def expect_migration_runs(migrations_to_run_counts)
      expect_migration_call_counts(migrations_to_run_counts)

      yield

      expect_recorded_migration_runs(migrations_to_run_counts)
    end