testRules method
Test the rules integration
Implementation
Future<void> testRules() async {
if (!_isAvailable || _rulesController == null) {
ObslyLogger.debug('Rules integration not available for testing');
return;
}
try {
await _rulesController!.executeCustomRules({'test': true});
ObslyLogger.debug('Rules test completed successfully');
} catch (e) {
ObslyLogger.error('Rules test failed: $e');
}
}