function it_increases_pubs_after_publishing_a_message() { $this->connect(); $this->publish("foo"); $this->pubsCount()->shouldBe(1); $this->close(); }