public function testDisconnectSendReconnects() { $this->assertFalse($this->connection->hasSession()); $this->transport->send($this->getMessage()); $this->assertTrue($this->connection->hasSession()); $this->connection->disconnect(); $this->assertFalse($this->connection->hasSession()); $this->transport->send($this->getMessage()); $this->assertTrue($this->connection->hasSession()); }