// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ChainSafe/gossamer/internal/client/executor (interfaces: RuntimeVersionOf)
//
// Generated by this command:
//
//	mockgen -destination=mock_executor_test.go -package genesisblock github.com/ChainSafe/gossamer/internal/client/executor RuntimeVersionOf
//

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

import (
	reflect "reflect"

	core "github.com/ChainSafe/gossamer/internal/primitives/core"
	externalities "github.com/ChainSafe/gossamer/internal/primitives/externalities"
	version "github.com/ChainSafe/gossamer/internal/primitives/version"
	gomock "go.uber.org/mock/gomock"
)

// MockRuntimeVersionOf is a mock of RuntimeVersionOf interface.
type MockRuntimeVersionOf struct {
	ctrl     *gomock.Controller
	recorder *MockRuntimeVersionOfMockRecorder
	isgomock struct{}
}

// MockRuntimeVersionOfMockRecorder is the mock recorder for MockRuntimeVersionOf.
type MockRuntimeVersionOfMockRecorder struct {
	mock *MockRuntimeVersionOf
}

// NewMockRuntimeVersionOf creates a new mock instance.
func NewMockRuntimeVersionOf(ctrl *gomock.Controller) *MockRuntimeVersionOf {
	mock := &MockRuntimeVersionOf{ctrl: ctrl}
	mock.recorder = &MockRuntimeVersionOfMockRecorder{mock}
	return mock
}

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

// RuntimeVersion mocks base method.
func (m *MockRuntimeVersionOf) RuntimeVersion(arg0 externalities.Externalities, runtimeCode core.RuntimeCode) (version.RuntimeVersion, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RuntimeVersion", arg0, runtimeCode)
	ret0, _ := ret[0].(version.RuntimeVersion)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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