def test_get_token():
    with mock.patch(
            "azure.identity._credentials.linux_vscode_adapter._get_refresh_token",
            return_value="VALUE"):
        assert get_credentials() == "VALUE"
def test_mac_keychain_valid_value():
    with mock.patch("msal_extensions.osx.Keychain.get_generic_password",
                    return_value="VALUE"):
        assert get_credentials() == "VALUE"