pub trait PluginAssertions {
// Required methods
fn assert_state(&self, expected_state: &str);
fn assert_has_capability(&self, capability: &str);
fn assert_health_status(&self, expected_status: &str);
}Expand description
Trait for plugin assertions
Required Methods§
Sourcefn assert_state(&self, expected_state: &str)
fn assert_state(&self, expected_state: &str)
Assert the plugin is in a specific state
Sourcefn assert_has_capability(&self, capability: &str)
fn assert_has_capability(&self, capability: &str)
Assert the plugin has a specific capability
Sourcefn assert_health_status(&self, expected_status: &str)
fn assert_health_status(&self, expected_status: &str)
Assert the plugin’s health status