def METHOD_NAME(self, get_code):
    issue = _get_issue_instance()
    get_code.return_value = "DDDDDDD"
    indent_val = "CCCCCCC"
    def _template(_issue, _indent_val, _code):
        return_val = [
            "{}>> Issue: [{}:{}] {}".format(
                _indent_val, _issue.test_id, _issue.test, _issue.text
            ),
            "{}   Severity: {}   Confidence: {}".format(
                _indent_val,
                _issue.severity.capitalize(),
                _issue.confidence.capitalize(),
            ),
            f"{_indent_val}   CWE: {_issue.cwe}",
            f"{_indent_val}   More Info: "
            f"{docs_utils.get_url(_issue.test_id)}",
            "{}   Location: {}:{}:{}".format(
                _indent_val, _issue.fname, _issue.lineno, _issue.col_offset
            ),
        ]
        if _code:
            return_val.append(f"{_indent_val}{_code}")
        return "\n".join(return_val)
    issue_text = b_text._output_issue_str(issue, indent_val)
    expected_return = _template(issue, indent_val, "DDDDDDD")
    self.assertEqual(expected_return, issue_text)
    issue_text = b_text._output_issue_str(
        issue, indent_val, show_code=False
    )
    expected_return = _template(issue, indent_val, "")
    self.assertEqual(expected_return, issue_text)
    issue.lineno = ""
    issue.col_offset = ""
    issue_text = b_text._output_issue_str(
        issue, indent_val, show_lineno=False
    )
    expected_return = _template(issue, indent_val, "DDDDDDD")
    self.assertEqual(expected_return, issue_text)