class Net::SSH::Test::Channel

def inject_remote_delay!

channel.gets_data "hijklmn"
channel.inject_remote_delay!
channel.gets_data "abcdefg"

essentially just mimics receiving an empty data packet):
need to separate those calls with calls to #inject_remote_delay! (which
to be concatenated (causing expectations in tests to fail), you may
Because adjacent calls to #gets_data will sometimes cause the data packets
def inject_remote_delay!
  gets_data("")
end