@Test
public void testIsOAuth2Token() {

  for (String prefix : GoogleAuth.OAUTH2_TOKEN_PREFIXES) {
    assertTrue(GoogleAuth.isOAuth2Token(prefix + "abc"));
    assertFalse(GoogleAuth.isOAuth2Token("x" + prefix + "abc"));
  }
}