use of org.springframework.cloud.config.server.support.PassphraseCredentialsProvider in project spring-cloud-config by spring-cloud.
the class GitCredentialsProviderFactoryTests method testCreatePassphraseCredentialProvider.
@Test
public void testCreatePassphraseCredentialProvider() {
CredentialsProvider provider = factory.createFor(GIT_REPO, null, null, PASSWORD);
assertNotNull(provider);
assertTrue(provider instanceof PassphraseCredentialsProvider);
}
Aggregations