test_class.declarator: TEST_PROPERTY_PREFIX = "test.prefix"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_PROPERTY_PREFIX = "test.prefix";
test_class.type: String
test_class.var_name: TEST_PROPERTY_PREFIX
test_class.declarator: config
test_class.modifier: private
test_class.original_string: private Configuration config;
test_class.type: Configuration
test_class.var_name: config
test_class.declarator: clock
test_class.modifier: @Mock private
test_class.original_string: @Mock private Clock clock;
test_class.type: Clock
test_class.var_name: clock
test_class.file: util-hadoop/src/test/java/com/google/cloud/hadoop/util/CredentialFromAccessTokenProviderClassFactoryTest.java
test_class.identifier: CredentialFromAccessTokenProviderClassFactoryTest
test_case.body: @Test
    public void testCreateCredentialFromProviderClassFactory()
        throws IOException, GeneralSecurityException {
      Credential credential =
          CredentialFromAccessTokenProviderClassFactory.credential(
              config, ImmutableList.of(TEST_PROPERTY_PREFIX), ImmutableList.of());
  
      assertThat(credential.getAccessToken()).isEqualTo(TestingAccessTokenProvider.FAKE_ACCESS_TOKEN);
      assertThat(credential.getExpirationTimeMilliseconds())
          .isEqualTo(TestingAccessTokenProvider.EXPIRATION_TIME_MILLISECONDS);
    }
test_case.class_method_signature: CredentialFromAccessTokenProviderClassFactoryTest.testCreateCredentialFromProviderClassFactory()
test_case.full_signature: @Test public void testCreateCredentialFromProviderClassFactory()
test_case.identifier: testCreateCredentialFromProviderClassFactory
test_case.invocations: credential of of isEqualTo assertThat getAccessToken isEqualTo assertThat getExpirationTimeMilliseconds
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateCredentialFromProviderClassFactory()
focal_class.declarator: logger = GoogleLogger.forEnclosingClass()
focal_class.modifier: private static final
focal_class.original_string: private static final GoogleLogger logger = GoogleLogger.forEnclosingClass();
focal_class.type: GoogleLogger
focal_class.var_name: logger
focal_class.file: util-hadoop/src/main/java/com/google/cloud/hadoop/util/CredentialFromAccessTokenProviderClassFactory.java
focal_class.identifier: CredentialFromAccessTokenProviderClassFactory
focal_class.class_method_signature: CredentialFromAccessTokenProviderClassFactory.credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.full_signature: public static Credential credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.identifier: credential
focal_class.modifiers: public static
focal_class.parameters: (
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.return: Credential
focal_class.signature: Credential credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.class_method_signature: CredentialFromAccessTokenProviderClassFactory.credential(
        Configuration config, List<String> keyPrefixes, Collection<String> scopes)
focal_class.full_signature: public static Credential credential(
        Configuration config, List<String> keyPrefixes, Collection<String> scopes)
focal_class.identifier: credential
focal_class.modifiers: public static
focal_class.parameters: (
        Configuration config, List<String> keyPrefixes, Collection<String> scopes)
focal_class.return: Credential
focal_class.signature: Credential credential(
        Configuration config, List<String> keyPrefixes, Collection<String> scopes)
focal_class.class_method_signature: CredentialFromAccessTokenProviderClassFactory.getCredentialFromAccessTokenProvider(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.full_signature: private static Credential getCredentialFromAccessTokenProvider(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.identifier: getCredentialFromAccessTokenProvider
focal_class.modifiers: private static
focal_class.parameters: (
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_class.return: Credential
focal_class.signature: Credential getCredentialFromAccessTokenProvider(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_method.body: public static Credential credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
        throws IOException, GeneralSecurityException {
      return getCredentialFromAccessTokenProvider(accessTokenProvider, scopes);
    }
focal_method.class_method_signature: CredentialFromAccessTokenProviderClassFactory.credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_method.full_signature: public static Credential credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_method.identifier: credential
focal_method.invocations: getCredentialFromAccessTokenProvider
focal_method.modifiers: public static
focal_method.parameters: (
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)
focal_method.return: Credential
focal_method.signature: Credential credential(
        AccessTokenProvider accessTokenProvider, Collection<String> scopes)