MCPcopy Index your code
hub / github.com/coder/coder / EXPECT

Method EXPECT

coderd/aibridged/aibridgedmock/poolmock.go:42–44  ·  view source on GitHub ↗

EXPECT returns an object that allows the caller to indicate expected use.

()

Source from the content-addressed store, hash-verified

40
41// EXPECT returns an object that allows the caller to indicate expected use.
42func (m *MockPooler) EXPECT() *MockPoolerMockRecorder {
43 return m.recorder
44}
45
46// Acquire mocks base method.
47func (m *MockPooler) Acquire(ctx context.Context, req aibridged.Request, clientFn aibridged.ClientFunc, mcpBootstrapper aibridged.MCPProxyBuilder) (http.Handler, error) {

Callers 14

newTestServerFunction · 0.95
TestUpdateStatsFunction · 0.45
TestRecordInterceptionFunction · 0.45
TestRecordTokenUsageFunction · 0.45
TestRecordPromptUsageFunction · 0.45
TestRecordToolUsageFunction · 0.45
TestRecordModelThoughtFunction · 0.45

Calls

no outgoing calls

Tested by 14

newTestServerFunction · 0.76
TestUpdateStatsFunction · 0.36
TestRecordInterceptionFunction · 0.36
TestRecordTokenUsageFunction · 0.36
TestRecordPromptUsageFunction · 0.36
TestRecordToolUsageFunction · 0.36
TestRecordModelThoughtFunction · 0.36