// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/robfig/cron/v3 (interfaces: Schedule)
//
// Generated by this command:
//
//	mockgen -typed -destination mock_schedule_test.go -package agentk github.com/robfig/cron/v3 Schedule
//

// Package agentk is a generated GoMock package.
package agentk

import (
	reflect "reflect"
	time "time"

	gomock "go.uber.org/mock/gomock"
)

// MockSchedule is a mock of Schedule interface.
type MockSchedule struct {
	ctrl     *gomock.Controller
	recorder *MockScheduleMockRecorder
	isgomock struct{}
}

// MockScheduleMockRecorder is the mock recorder for MockSchedule.
type MockScheduleMockRecorder struct {
	mock *MockSchedule
}

// NewMockSchedule creates a new mock instance.
func NewMockSchedule(ctrl *gomock.Controller) *MockSchedule {
	mock := &MockSchedule{ctrl: ctrl}
	mock.recorder = &MockScheduleMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSchedule) EXPECT() *MockScheduleMockRecorder {
	return m.recorder
}

// Next mocks base method.
func (m *MockSchedule) Next(arg0 time.Time) time.Time {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Next", arg0)
	ret0, _ := ret[0].(time.Time)
	return ret0
}

// Next indicates an expected call of Next.
func (mr *MockScheduleMockRecorder) Next(arg0 any) *MockScheduleNextCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockSchedule)(nil).Next), arg0)
	return &MockScheduleNextCall{Call: call}
}

// MockScheduleNextCall wrap *gomock.Call
type MockScheduleNextCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockScheduleNextCall) Return(arg0 time.Time) *MockScheduleNextCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockScheduleNextCall) Do(f func(time.Time) time.Time) *MockScheduleNextCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockScheduleNextCall) DoAndReturn(f func(time.Time) time.Time) *MockScheduleNextCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}
