//! Cross-impl conformance suite for the `Governor` trait.

use klieo_bus_memory::MemoryBus;
use klieo_ops::governor::TokenBucketGovernor;
use klieo_ops::test_fixtures::run_governor_conformance;
use klieo_ops::types::ProviderId;

#[tokio::test]
async fn token_bucket_governor_passes_conformance() {
    let bus = MemoryBus::new();
    let kv = bus.kv.clone();
    let g = TokenBucketGovernor::builder(kv)
        .llm_limit(ProviderId("anthropic".into()), 5)
        .build();
    run_governor_conformance(g).await;
}
