class Byebug::TestInterface

def read_command(prompt)

def read_command(prompt)
  cmd = super(prompt)
  return cmd unless cmd.nil? && test_block
  test_block.call
  self.test_block = nil
end