class Net::SSH::Test::Script

def sends_channel_data(channel, data)

This will typically be called via Net::SSH::Test::Channel#sends_data.

expect will be sent.
Net::SSH::Test::Channel object, and +data+ is the (string) data to
Scripts the sending of a channel data packet. +channel+ must be a
def sends_channel_data(channel, data)
  events << LocalPacket.new(:channel_data, channel.remote_id, data)
end