// Code generated by mockery. DO NOT EDIT. package mocks import ( time "time" mock "github.com/stretchr/testify/mock" models "source.quilibrium.com/quilibrium/monorepo/consensus/models" ) // ProposalDurationProvider is an autogenerated mock type for the ProposalDurationProvider type type ProposalDurationProvider struct { mock.Mock } // TargetPublicationTime provides a mock function with given fields: proposalRank, timeRankEntered, parentStateId func (_m *ProposalDurationProvider) TargetPublicationTime(proposalRank uint64, timeRankEntered time.Time, parentStateId models.Identity) time.Time { ret := _m.Called(proposalRank, timeRankEntered, parentStateId) if len(ret) == 0 { panic("no return value specified for TargetPublicationTime") } var r0 time.Time if rf, ok := ret.Get(0).(func(uint64, time.Time, models.Identity) time.Time); ok { r0 = rf(proposalRank, timeRankEntered, parentStateId) } else { r0 = ret.Get(0).(time.Time) } return r0 } // NewProposalDurationProvider creates a new instance of ProposalDurationProvider. 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 NewProposalDurationProvider(t interface { mock.TestingT Cleanup(func()) }) *ProposalDurationProvider { mock := &ProposalDurationProvider{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }