def METHOD_NAME(
    monkeypatch: pytest.MonkeyPatch,
) -> tools_models.DatabaseTool:
    version = tools_models.DatabaseVersion(
        id=0,
        name="test",
    )
    def get_exisiting_tool_version(
        *args, **kwargs
    ) -> tools_models.DatabaseTool:
        return version
    monkeypatch.setattr(
        tools_injectables,
        "get_exisiting_tool_version",
        get_exisiting_tool_version,
    )
    return version