Expand description
Traits to mock the clients in this library.
Application developers may need to mock the clients in this library to test how their application works with different (and sometimes hard to trigger) client and service behavior. Such test can define mocks implementing the trait(s) defined in this module, initialize the client with an instance of this mock in their tests, and verify their application responds as expected.
Traitsยง
- Alert
Policy Service - Defines the trait used to implement super::client::AlertPolicyService.
- Group
Service - Defines the trait used to implement super::client::GroupService.
- Metric
Service - Defines the trait used to implement super::client::MetricService.
- Notification
Channel Service - Defines the trait used to implement super::client::NotificationChannelService.
- Query
Service - Defines the trait used to implement super::client::QueryService.
- Service
Monitoring Service - Defines the trait used to implement super::client::ServiceMonitoringService.
- Snooze
Service - Defines the trait used to implement super::client::SnoozeService.
- Uptime
Check Service - Defines the trait used to implement super::client::UptimeCheckService.