def METHOD_NAME(input, expected_argv, expected_opts, expected_args):
    argv, opts, args = a2x.parse_args(input)
    assert argv == expected_argv
    assert opts == expected_opts
    assert args == expected_args