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

Function test_registry_require_success

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

Source from the content-addressed store, hash-verified

641
642 #[test]
643 fn test_registry_require_success() {
644 let mut registry = AgentRegistry::new();
645 registry.register(Box::new(MockAgent::new("test-agent")));
646 assert!(registry.require("test-agent").is_ok());
647 }
648
649 #[test]
650 fn test_registry_require_not_found() {

Callers

nothing calls this directly

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected