def METHOD_NAME(self, monkeypatch, request) -> List[Union[str, bytes]]:
    METHOD_NAME: List[Union[str, bytes]] = []
    plugin = request.config.pluginmanager.getplugin("pastebin")
    monkeypatch.setattr(plugin, "create_new_paste", METHOD_NAME.append)
    return METHOD_NAME