Here you can define custom actions all public methods declared in helper class will be available in $I
Inheritance: extends Codeception\Module
 public function testBindToSphinxWillIgnoreQueryBuilderIfQuerySet()
 {
     $builder = $this->object->createQueryBuilder();
     $builder->in()->whereField()->contains('bob alan derek');
     $this->object->setQuery('sue alice colby');
     $this->object->bindToSphinx($this->I->getSphinxClientMock());
     $this->assertNotEquals('(bob alan derek)', $this->object->getQuery());
 }
 public function testGetIterator()
 {
     $this->object->addQuery($this->I->createAddressSearchQuery());
     $this->object->addQuery($this->I->createNameSearchQuery());
     foreach ($this->object->getIterator() as $query) {
         $this->assertInstanceOf(SearchQuery::class, $query);
     }
 }
 public function testBindToSphinx()
 {
     $this->filter->bindToSphinx($this->I->getSphinxClientMock());
     $this->assertTrue(true);
 }
 public function testEndReturnsBuilder()
 {
     $field = new Field($this->I->createQueryBuilder(), 'field1', 23, true);
     $this->assertInstanceOf(Builder::class, $field->end());
 }
 public function testBindToSphinx()
 {
     $this->object->bindToSphinx($this->I->getSphinxClientMock());
 }
 public function testMultiplePhrasesWithMethodChaining()
 {
     $criteria = $this->I->createCriteria();
     $criteria->containsOneOf('jim alex', 'bob')->containsStrictOrderOf('bob', 'alex smith')->doesNotContainKeywords('fred alan jeffrey')->containsKeywordsInProximity('bob smith', 2);
     $this->assertEquals('("jim alex"|bob) bob << "alex smith" -fred -alan -jeffrey "bob smith"~2', (string) $criteria);
 }