// Code generated by mockery. DO NOT EDIT.

package mocks

import (
	common "github.com/ethereum/go-ethereum/common"
	mock "github.com/stretchr/testify/mock"

	types "github.com/agglayer/aggkit/aggsender/types"
)

// AggProofPublicValuesQuerier is an autogenerated mock type for the AggProofPublicValuesQuerier type
type AggProofPublicValuesQuerier struct {
	mock.Mock
}

type AggProofPublicValuesQuerier_Expecter struct {
	mock *mock.Mock
}

func (_m *AggProofPublicValuesQuerier) EXPECT() *AggProofPublicValuesQuerier_Expecter {
	return &AggProofPublicValuesQuerier_Expecter{mock: &_m.Mock}
}

// GetAggregationProofPublicValuesData provides a mock function with given fields: lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash
func (_m *AggProofPublicValuesQuerier) GetAggregationProofPublicValuesData(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeLeafHash common.Hash) (*types.AggregationProofPublicValues, error) {
	ret := _m.Called(lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash)

	if len(ret) == 0 {
		panic("no return value specified for GetAggregationProofPublicValuesData")
	}

	var r0 *types.AggregationProofPublicValues
	var r1 error
	if rf, ok := ret.Get(0).(func(uint64, uint64, common.Hash) (*types.AggregationProofPublicValues, error)); ok {
		return rf(lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash)
	}
	if rf, ok := ret.Get(0).(func(uint64, uint64, common.Hash) *types.AggregationProofPublicValues); ok {
		r0 = rf(lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*types.AggregationProofPublicValues)
		}
	}

	if rf, ok := ret.Get(1).(func(uint64, uint64, common.Hash) error); ok {
		r1 = rf(lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggregationProofPublicValuesData'
type AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call struct {
	*mock.Call
}

// GetAggregationProofPublicValuesData is a helper method to define mock.On call
//   - lastProvenBlock uint64
//   - requestedEndBlock uint64
//   - l1InfoTreeLeafHash common.Hash
func (_e *AggProofPublicValuesQuerier_Expecter) GetAggregationProofPublicValuesData(lastProvenBlock interface{}, requestedEndBlock interface{}, l1InfoTreeLeafHash interface{}) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call {
	return &AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call{Call: _e.mock.On("GetAggregationProofPublicValuesData", lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash)}
}

func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Run(run func(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeLeafHash common.Hash)) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(uint64), args[1].(uint64), args[2].(common.Hash))
	})
	return _c
}

func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Return(_a0 *types.AggregationProofPublicValues, _a1 error) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) RunAndReturn(run func(uint64, uint64, common.Hash) (*types.AggregationProofPublicValues, error)) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call {
	_c.Call.Return(run)
	return _c
}

// NewAggProofPublicValuesQuerier creates a new instance of AggProofPublicValuesQuerier. 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 NewAggProofPublicValuesQuerier(t interface {
	mock.TestingT
	Cleanup(func())
}) *AggProofPublicValuesQuerier {
	mock := &AggProofPublicValuesQuerier{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
