// Code generated by mockery. DO NOT EDIT. package mocks import ( mock "github.com/stretchr/testify/mock" models "source.quilibrium.com/quilibrium/monorepo/consensus/models" ) // TimeoutAggregationViolationConsumer is an autogenerated mock type for the TimeoutAggregationViolationConsumer type type TimeoutAggregationViolationConsumer[VoteT models.Unique] struct { mock.Mock } // OnDoubleTimeoutDetected provides a mock function with given fields: _a0, _a1 func (_m *TimeoutAggregationViolationConsumer[VoteT]) OnDoubleTimeoutDetected(_a0 *models.TimeoutState[VoteT], _a1 *models.TimeoutState[VoteT]) { _m.Called(_a0, _a1) } // OnInvalidTimeoutDetected provides a mock function with given fields: err func (_m *TimeoutAggregationViolationConsumer[VoteT]) OnInvalidTimeoutDetected(err models.InvalidTimeoutError[VoteT]) { _m.Called(err) } // NewTimeoutAggregationViolationConsumer creates a new instance of TimeoutAggregationViolationConsumer. 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 NewTimeoutAggregationViolationConsumer[VoteT models.Unique](t interface { mock.TestingT Cleanup(func()) }) *TimeoutAggregationViolationConsumer[VoteT] { mock := &TimeoutAggregationViolationConsumer[VoteT]{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }