Sphinx\Tests\SphinxClientTest::testSetServerWithNegativePortShouldThrowException PHP Метод

testSetServerWithNegativePortShouldThrowException() публичный Метод

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