function it_sends_ping_after_a_successful_connection() { $this->connect(); $this->pingsCount()->shouldBe(1); $this->close(); }