use of io.kubernetes.client.util.credentials.Authentication in project java by kubernetes-client.
the class ClientBuilderTest method testCredentialProviderInvoked.
@Test
public void testCredentialProviderInvoked() throws IOException {
final Authentication provider = mock(Authentication.class);
final ApiClient client = ClientBuilder.standard().setAuthentication(provider).build();
verify(provider).provide(client);
}
Aggregations