def METHOD_NAME(self):
    mock_response = dict(
        email="foo@gmail.com",
        username="user1",
        access_token="token1",
        token_type="type1",
        expires_in="500",
        expires_at="10000000",
        refresh_token="234234",
        scope="scope",
    )
    hydro_share_auth2_obj = HydroShareOAuth2()
    hydro_share_auth2_obj.set_expires_in_to = 100
    ret = hydro_share_auth2_obj.extra_data("user1", "0001-009", mock_response)
    self.assertEqual("foo@gmail.com", ret["email"])
    self.assertEqual("token1", ret["access_token"])
    self.assertEqual("type1", ret["token_type"])
    self.assertEqual(100, ret["expires_in"])
    self.assertEqual("234234", ret["refresh_token"])
    self.assertEqual("scope", ret["scope"])