Nats\tests\Unit\ConnectionTest::testPing PHP Метод

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

Test Ping command.
public testPing ( ) : void
Результат void
    public function testPing()
    {
        $this->c->ping();
        $count = $this->c->pingsCount();
        $this->assertInternalType('int', $count);
        $this->assertGreaterThan(0, $count);
        $this->c->close();
    }