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

use klieo_bus_memory::MemoryBus;
use klieo_core::KvStore;
use klieo_ops::supervisor::KvSupervisor;
use klieo_ops::test_fixtures::run_supervisor_conformance;
use std::sync::Arc;

#[tokio::test]
async fn kv_supervisor_passes_conformance() {
    let bus = MemoryBus::new();
    let kv: Arc<dyn KvStore> = bus.kv.clone();
    let sup = KvSupervisor::with_defaults(kv);
    run_supervisor_conformance(sup).await;
}
