def METHOD_NAME():
    expected = "fakeval"
    with mock.patch("oauth2.oauth2.Variable") as MockVariable:
        MockVariable.get.return_value = expected
        actual = oauth2._var_get("key")
        assert actual == expected
        assert MockVariable.get.call_args == mock.call(
            "key", default_var={}, deserialize_json=True
        )