docstr: Run UI with an initial command specified.
docstr_tok: ["Run","UI","with","an","initial","command","specified","."]
code: def testConfigSetAndShow(self):
      """Run UI with an initial command specified."""
  
      ui = MockReadlineUI(
          command_sequence=[
              "config set graph_recursion_depth 5",
              "config show",
              "exit",
          ]
      )
      ui.run_ui()
      outputs = ui.observers["screen_outputs"]
      self.assertEqual(
          [
              "Command-line configuration:",
              "",
              "  graph_recursion_depth: 5",
          ],
          outputs[1].lines[:3],
      )
  
imports: import os
  import argparse
  import tempfile
  from tensorflow.python.debug.cli import cli_config
  from tensorflow.python.debug.cli import debugger_cli_common
  from tensorflow.python.debug.cli import readline_ui
  from tensorflow.python.debug.cli import ui_factory
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 14 for calling the CursesTest obj's underlying member method code with example usage: obj.testConfigSetAndShow() without return types