com.azure.core.test.utils

Package containing utility classes used for testing Azure client libraries.

Classes

HttpURLConnectionHttpClient

A HttpClient that uses the JDK HttpURLConnection.

MessageDigestUtils

Utilities to compute hashes in tests.

MockTokenCredential

This class mocks the behavior of TokenCredential without making a network call with dummy credentials.

ResourceNamer

A random string generator used in tests.

TestConfigurationSource

Test configuration source implementation.

TestProxyDownloader

Class for managing downloads of the test proxy

TestProxyManager

Manages running the test recording proxy server

TestProxyUtils

Utility functions for interaction with the test proxy.

TestResourceNamer

Provides random string names.

TestUtils

Contains utility methods used for testing.