public function testSetServerWithNegativePortShouldThrowException() { $sphinx = new SphinxClient(); $sphinx->setServer('localhost', -1); }