public function testGetChannel()
{
$channelId = $this->faker->uuid;
$message = new Message($this->client, ['id' => $this->faker->uuid, 'channel' => $channelId]);
$this->mockResponse(200, null, ['ok' => true, 'channel' => ['id' => $channelId]]);
$this->watchPromise($message->getChannel()->then(function (ChannelInterface $channel) use($channelId) {
$this->assertEquals($channelId, $channel->getId());
}));
}