public function testToString() { $query = new SearchQuery(new TestIndex(), 'bob smith', null, [new FilterAttribute('age'), new FilterAttribute('gender')]); $this->assertEquals('"bob smith" using index "testindex" where "age" includes "" and "gender" includes ""', $query->toString()); }