'Gets the next message that was sent to the channel during the test,
or None if no message is available.'

def get_next_message(self, channel):

    (recv_channel, content) = channel_layers[self.alias].receive_many([channel])
    if (recv_channel is None):
        return
    return Message(content, recv_channel, channel_layers[self.alias])
