--- LLMManager double --------------------------------------------------- fakeLLMManager satisfies manager.LLMManager. Only GetClient carries real behavior — the rest are no-ops because the helper under test only calls GetClient. Keeps the test focused.
| 50 | // real behavior — the rest are no-ops because the helper under test |
| 51 | // only calls GetClient. Keeps the test focused. |
| 52 | type fakeLLMManager struct { |
| 53 | clients map[string]client.LLMClient |
| 54 | errors map[string]error |
| 55 | calls atomic.Int32 |
| 56 | } |
| 57 | |
| 58 | func (f *fakeLLMManager) GetClient(provider, _ string) (client.LLMClient, error) { |
| 59 | f.calls.Add(1) |
nothing calls this directly
no outgoing calls
no test coverage detected