// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ava-labs/avalanchego/snow/engine/snowman/block (interfaces: WithVerifyContext)
//
// Generated by this command:
//
//	mockgen -package=blockmock -destination=blockmock/with_verify_context.go -mock_names=WithVerifyContext=WithVerifyContext . WithVerifyContext
//

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

import (
	context "context"
	reflect "reflect"

	block "github.com/ava-labs/avalanchego/snow/engine/snowman/block"
	gomock "go.uber.org/mock/gomock"
)

// WithVerifyContext is a mock of WithVerifyContext interface.
type WithVerifyContext struct {
	ctrl     *gomock.Controller
	recorder *WithVerifyContextMockRecorder
	isgomock struct{}
}

// WithVerifyContextMockRecorder is the mock recorder for WithVerifyContext.
type WithVerifyContextMockRecorder struct {
	mock *WithVerifyContext
}

// NewWithVerifyContext creates a new mock instance.
func NewWithVerifyContext(ctrl *gomock.Controller) *WithVerifyContext {
	mock := &WithVerifyContext{ctrl: ctrl}
	mock.recorder = &WithVerifyContextMockRecorder{mock}
	return mock
}

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

// ShouldVerifyWithContext mocks base method.
func (m *WithVerifyContext) ShouldVerifyWithContext(arg0 context.Context) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ShouldVerifyWithContext", arg0)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ShouldVerifyWithContext indicates an expected call of ShouldVerifyWithContext.
func (mr *WithVerifyContextMockRecorder) ShouldVerifyWithContext(arg0 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShouldVerifyWithContext", reflect.TypeOf((*WithVerifyContext)(nil).ShouldVerifyWithContext), arg0)
}

// VerifyWithContext mocks base method.
func (m *WithVerifyContext) VerifyWithContext(arg0 context.Context, arg1 *block.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "VerifyWithContext", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}

// VerifyWithContext indicates an expected call of VerifyWithContext.
func (mr *WithVerifyContextMockRecorder) VerifyWithContext(arg0, arg1 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyWithContext", reflect.TypeOf((*WithVerifyContext)(nil).VerifyWithContext), arg0, arg1)
}
