--TEST-- OauthProvider tokenHandler/callTokenHandler --FILE-- tokenHandler('tokenHandler'); $provider->callTokenHandler(); } catch (OAuthException $E) { echo OAuthProvider::reportProblem($E); } --EXPECT-- tokenHandler called