def METHOD_NAME(self):
    # tests a singleton example
    args = 'vm show -g "??group" -n "??name"'
    args = parse_quotes(args)
    self.shell.last.result = {
        'group': 'mygroup',
        'name': 'my name'
    }
    flag = self.shell.handle_jmespath_query(args)
    self.assertTrue(flag)
    results = self.stream.getvalue().split(os.linesep)
    self.assertEqual(results[0], '"vm" "show" "-g" "mygroup" "-n" "my name"')