()
| 803 | |
| 804 | #[test] |
| 805 | fn test_agent_hook_is_object_safe() { |
| 806 | // This test verifies that AgentHook can be used as a trait object. |
| 807 | // If this compiles, the trait is object-safe. |
| 808 | let agent: Box<dyn AgentHook> = Box::new(MockAgent::new("test")); |
| 809 | assert_eq!(agent.name(), "test"); |
| 810 | } |
| 811 | |
| 812 | #[test] |
| 813 | fn test_agent_hook_send_sync() { |
nothing calls this directly
no outgoing calls
no test coverage detected