// Code generated by mockery v2.53.5. DO NOT EDIT. package mocks import ( context "context" mock "github.com/stretchr/testify/mock" ) // Poller is an autogenerated mock type for the Poller type type Poller struct { mock.Mock } // Poll provides a mock function with no fields func (_m *Poller) Poll() { _m.Called() } // Shutdown provides a mock function with given fields: ctx func (_m *Poller) Shutdown(ctx context.Context) error { ret := _m.Called(ctx) if len(ret) == 0 { panic("no return value specified for Shutdown") } var r0 error if rf, ok := ret.Get(0).(func(context.Context) error); ok { r0 = rf(ctx) } else { r0 = ret.Error(0) } return r0 } // NewPoller creates a new instance of Poller. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewPoller(t interface { mock.TestingT Cleanup(func()) }, ) *Poller { mock := &Poller{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }