def METHOD_NAME():
    METHOD_NAME = {
        "result": True,
        "path_used": "primary",
        "request_path": "restconf/fakepath",
        "request_restponse": {},
    }
    with patch.dict(
        restconf.__salt__,
        {
            "restconf.path_check": MagicMock(
                return_value=METHOD_NAME
            )
        },
    ):
        yield METHOD_NAME