def METHOD_NAME(self) -> None:
    doc__ = "-- {}{as_parameter} --"
    assert bus.format_docstring(doc__, 'hello ', as_parameter='world') == "-- hello world --"
    doc__ = None
    assert bus.format_docstring(doc__, 'hello ', as_parameter='world') is None