func (_m *HistoryEventIterator) HasNext() bool {
	ret := _m.Called()
	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}
	return r0
}
HasNext provides a mock function with given fields:
package mocks
import mock "github.com/stretchr/testify/mock"
import shared "go.uber.org/cadence/.gen/go/shared"
type HistoryEventIterator struct {
	mock.Mock
}