code: def test_xor_tui(mock_click):
      # https://github.com/Ciphey/Ciphey/issues/655
      runner = CliRunner()
      mock_click.return_value = "y"
      result = runner.invoke(
          main,
          [
              "-t",
              "Uihr!hr!`!udru!gns!YNS-!hu!hr!sd`mmx!mnof!un!l`jd!rtsd!ui`u!YNSunnm!b`o!fdu!hu/!Bhqidx!*!YNSunnm!hr!bnnm/",
          ],
      )
      assert result.exit_code == 0
      assert re.findall("This is a test for XOR", str(result.output))
  
file_path: Ciphey/tests/test_advanced_ciphers.py
imports: import pytest
  from click.testing import CliRunner
  import mock
  import re
  from ciphey import decrypt
  from ciphey.iface import Config
  from ciphey.ciphey import main
  from ciphey.basemods.Checkers import human
label_desc: Use image node_id 3 for calling a global function with example usage: test_xor_tui(mock_click) without return types