public function testRankBy() { $this->object->rankBy(SearchQuery::RANK_WORD_COUNT); $this->assertEquals(SearchQuery::RANK_WORD_COUNT, $this->object->getRankingMode()); }