# androidx.health.connect.client.testing

*** ** * ** ***

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/health/connect/client/testing/AggregationTestUtils` |   |
| `https://developer.android.com/reference/androidx/health/connect/client/testing/FakeHealthConnectClient` | Fake `https://developer.android.com/reference/androidx/health/connect/client/HealthConnectClient` to be used in tests for components that use it as a dependency. |
| `https://developer.android.com/reference/androidx/health/connect/client/testing/FakeHealthConnectClientOverrides` | Used to override or intercept responses to emulate scenarios that `https://developer.android.com/reference/androidx/health/connect/client/testing/FakeHealthConnectClient` doesn't support. |
| `https://developer.android.com/reference/androidx/health/connect/client/testing/FakePermissionController` | A fake `https://developer.android.com/reference/androidx/health/connect/client/PermissionController` that enables full control of permissions in tests for a `https://developer.android.com/reference/androidx/health/connect/client/HealthConnectClient`. |
| `https://developer.android.com/reference/androidx/health/connect/client/testing/FakePermissionControllerOverrides` | Used to override or intercept responses to emulate scenarios that `https://developer.android.com/reference/androidx/health/connect/client/testing/FakePermissionController` doesn't support directly, such as throwing an exception or applying custom logic to the responses. |
| `https://developer.android.com/reference/androidx/health/connect/client/testing/MetadataTestHelper` |   |