Unit tests for OAuthAuthenticationPolicy