(t *testing.T)
| 50 | } |
| 51 | |
| 52 | func TestSubAgentManager_GetSpec_NotFound(t *testing.T) { |
| 53 | deps := &Dependencies{ |
| 54 | TemplateRegistry: NewTemplateRegistry(), |
| 55 | } |
| 56 | |
| 57 | mgr := NewSubAgentManager(deps) |
| 58 | |
| 59 | _, err := mgr.GetSpec("nonexistent") |
| 60 | if err == nil { |
| 61 | t.Error("expected error for nonexistent spec") |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func TestSubAgentManagerFactory(t *testing.T) { |
| 66 | deps := &Dependencies{ |
nothing calls this directly
no test coverage detected