public function testBindToSphinx()
 {
     $this->object->bindToSphinx($this->I->getSphinxClientMock());
     $this->assertEquals(1, $this->object->getId());
 }
 /**
  * Adds a search query, note: queries cannot be removed once added
  *
  * @param SearchQuery $query
  *
  * @return $this
  */
 public function addQuery(SearchQuery $query)
 {
     $query->bindToSphinx($this->getCurrentConnection());
     $this->queries[$query->getId()] = $query;
     return $this;
 }