MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_registry_require_success

Function test_registry_require_success

atomic-agent/src/hooks/mod.rs:614–618  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613 #[test]
614 fn test_registry_require_success() {
615 let mut registry = AgentRegistry::new();
616 registry.register(Box::new(MockAgent::new("test-agent")));
617 assert!(registry.require("test-agent").is_ok());
618 }
619
620 #[test]
621 fn test_registry_require_not_found() {

Callers

nothing calls this directly

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected