MCPcopy
hub / github.com/vektra/mockery / Output

Method Output

internal/fixtures/mocks_testify_test_test.go:418–434  ·  view source on GitHub ↗

Output provides a mock function for the type MockAsyncProducer

()

Source from the content-addressed store, hash-verified

416
417// Output provides a mock function for the type MockAsyncProducer
418func (_mock *MockAsyncProducer) Output() <-chan bool {
419 ret := _mock.Called()
420
421 if len(ret) == 0 {
422 panic("no return value specified for Output")
423 }
424
425 var r0 <-chan bool
426 if returnFunc, ok := ret.Get(0).(func() <-chan bool); ok {
427 r0 = returnFunc()
428 } else {
429 if ret.Get(0) != nil {
430 r0 = ret.Get(0).(<-chan bool)
431 }
432 }
433 return r0
434}
435
436// MockAsyncProducer_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
437type MockAsyncProducer_Output_Call struct {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected