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: and_test.rb
    path of file: ./repos/search_cop/test
    
    the code of the file until where you have to start completion: require File.expand_path("test_helper", __dir__)

class AndTest < SearchCop::TestCase
  def test_and_string
    expected = create(:product, title: "expected title", description: "Description")
    rejected = create(:product, title: "Rejected title", description: "Descriptio
    
  def test_and_string
    expected = create(:product, title: "expected title", description: "Description")
    rejected = create(:product, title: "Rejected title", description: "Description")

    results = Product.search("title: 'Expected title' description: Description")

    assert_includes results, expected
    refute_includes results, rejected

    assert_equal results, Product.search("title: 'Expected title' AND description: Description")
  end