public function testSetRankingModeWithExpressionRankerWithoutExpressionShouldThrowException() { $sphinx = new SphinxClient(); $sphinx->setRankingMode(SphinxClient::SPH_RANK_EXPR); }