function it_increases_reconnects_count_on_each_reconnection() { $this->connect(); $this->reconnect(); $this->reconnectsCount()->shouldBe(1); $this->isConnected()->shouldBe(true); $this->close(); }