code: def test_gs_session_class():
      """GSSession works"""
      gs_session = GSSession(google_application_credentials="foo")
      assert gs_session._creds
      assert (
          gs_session.get_credential_options()[
              "GOOGLE_APPLICATION_CREDENTIALS"
          ]
          == "foo"
      )
      assert gs_session.hascreds(
          {"GOOGLE_APPLICATION_CREDENTIALS": "foo"}
      )
  
imports: from unittest import mock
  import pytest
  from fiona.session import DummySession, AWSSession, Session, OSSSession, GSSession, SwiftSession, AzureSession
label_desc: Use image node_id 23 for calling a global function with example usage: test_gs_session_class() without return types