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: facet_matches_test.rb
    path of file: ./repos/workarea/core/test/queries/workarea/search
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  module Search
    class FacetMatchesTest < TestCase
      include TestCase::SearchIndexing

      setup :set_search

      def set_search
        create_product(filters: { color: %w(Red Green
    
      def set_search
        create_product(filters: { color: %w(Red Green Blue), size: 'M' })
        create_product(filters: { color: %w(Green Blue), size: 'S' })
        create_product(filters: { color: %w(Blue), size: 'Blue' })

        BulkIndexProducts.perform
        @search = Search::ProductSearch.new(q: '*', terms_facets: %w(color size))
      end