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

Method Close

coderd/database/pubsub/psmock/psmock.go:44–49  ·  view source on GitHub ↗

Close mocks base method.

()

Source from the content-addressed store, hash-verified

42
43// Close mocks base method.
44func (m *MockPubsub) Close() error {
45 m.ctrl.T.Helper()
46 ret := m.ctrl.Call(m, "Close")
47 ret0, _ := ret[0].(error)
48 return ret0
49}
50
51// Close indicates an expected call of Close.
52func (mr *MockPubsubMockRecorder) Close() *gomock.Call {

Callers 1

TestMeasureLatencyFunction · 0.95

Calls 2

CallMethod · 0.80
HelperMethod · 0.65

Tested by 1

TestMeasureLatencyFunction · 0.76