def METHOD_NAME(confidence: Confidence, message: _MessageCallable) -> None:
    """Test that the OutputLine NamedTuple is instantiated correctly with from_msg
    and then converted to csv.
    """
    output_line = OutputLine.from_msg(message(confidence), True)
    csv = output_line.to_csv()
    assert csv == (
        "missing-docstring",
        "1",
        "2",
        "1",
        "3",
        "obj",
        "msg",
        confidence.name,
    )
    output_line_without_end = OutputLine.from_msg(message(confidence), False)
    csv = output_line_without_end.to_csv()
    assert csv == (
        "missing-docstring",
        "1",
        "2",
        "None",
        "None",
        "obj",
        "msg",
        confidence.name,
    )