def METHOD_NAME(
    self,
    taint_escaped_template,  # type: Text
    taint_escaped_parameter,  # type: Any
    expected_result,  # type: Text
    escaped_expected_result,  # type: Text
):  # type: (...) -> None
    template = self._to_tainted_string_with_origin(taint_escaped_template)
    parameter = self._to_tainted_string_with_origin(taint_escaped_parameter)
    result = mod.do_format_with_positional_parameter(template, parameter)
    assert result == expected_result
    assert as_formatted_evidence(result) == escaped_expected_result
    # TODO: Uncomment when kwargs work to check format with named arguments
    # template = self._to_tainted_string_with_origin(taint_escaped_template)
    # template = re.sub('\{([^\}]*)\}', '{key\\1}', template)
    # result = mod.do_format_with_named_parameter(template, parameter)
    assert result == expected_result
    assert as_formatted_evidence(result, tag_mapping_function=None) == escaped_expected_result