def METHOD_NAME(self, monkeypatch):
    monkeypatch.setattr(requests.sessions.Session, 'post', mock_token_request_factory())
    auth = OAuth2ClientCredentialsSession("test", "test", "test")
    assert auth.expiration_time is None
    assert getattr(auth, 'access_token', None) is not None