class Net::SSH::Test::Channel

def sends_subsystem(subsystem, reply=true, success=true)

channel.sends_subsystem "sftp"

and +success+ arguments.
server. See #sends_exec for a discussion of the meaning of the +reply+
Scripts the sending of a "subsystem" channel request packet to the mock
def sends_subsystem(subsystem, reply=true, success=true)
  script.sends_channel_request(self, "subsystem", reply, subsystem, success)
end