public function testSolrQuerySentToHttpClientContainsGlobalProductListingCriteria()
 {
     $searchString = 'foo';
     $filterSelection = [];
     $spy = $this->once();
     $this->mockHttpClient->expects($spy)->method('select')->willReturn([]);
     $this->searchEngine->queryFullText($searchString, $this->createStubQueryOptions($filterSelection));
     $queryString = $spy->getInvocations()[0]->parameters[0]['q'];
     $expectationRegExp = sprintf('/^\\(\\(\\(full_text_search:"%s"\\) AND %s:"%s"\\)\\)/', $searchString, $this->testGlobalProductListingCriteriaFieldName, $this->testGlobalProductListingCriteriaFieldValue);
     $this->assertRegExp($expectationRegExp, $queryString);
 }