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

Function test_registry_require_success

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected