public function testPing() { $this->c->ping(); $count = $this->c->pingsCount(); $this->assertInternalType('int', $count); $this->assertGreaterThan(0, $count); $this->c->close(); }