// Code generated by MockGen. DO NOT EDIT.
// Source: tx.go
//
// Generated by this command:
//
//	mockgen -source=tx.go -destination=mock_unsigned_tx.go -package=txs UnsignedTx
//

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

import (
	context "context"
	reflect "reflect"

	ids "github.com/luxfi/ids"
	set "github.com/luxfi/math/set"
	gomock "github.com/luxfi/mock/gomock"
	lux "github.com/luxfi/utxo"
)

// MockUnsignedTx is a mock of UnsignedTx interface.
type MockUnsignedTx struct {
	ctrl     *gomock.Controller
	recorder *MockUnsignedTxMockRecorder
	isgomock struct{}
}

// MockUnsignedTxMockRecorder is the mock recorder for MockUnsignedTx.
type MockUnsignedTxMockRecorder struct {
	mock *MockUnsignedTx
}

// NewMockUnsignedTx creates a new mock instance.
func NewMockUnsignedTx(ctrl *gomock.Controller) *MockUnsignedTx {
	mock := &MockUnsignedTx{ctrl: ctrl}
	mock.recorder = &MockUnsignedTxMockRecorder{mock}
	return mock
}

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

// Bytes mocks base method.
func (m *MockUnsignedTx) Bytes() []byte {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Bytes")
	ret0, _ := ret[0].([]byte)
	return ret0
}

// Bytes indicates an expected call of Bytes.
func (mr *MockUnsignedTxMockRecorder) Bytes() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bytes", reflect.TypeOf((*MockUnsignedTx)(nil).Bytes))
}

// InitRuntime mocks base method.
func (m *MockUnsignedTx) InitRuntime(arg0 context.Context) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "InitRuntime", arg0)
}

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

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

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

// InputIDs mocks base method.
func (m *MockUnsignedTx) InputIDs() set.Set[ids.ID] {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InputIDs")
	ret0, _ := ret[0].(set.Set[ids.ID])
	return ret0
}

// InputIDs indicates an expected call of InputIDs.
func (mr *MockUnsignedTxMockRecorder) InputIDs() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InputIDs", reflect.TypeOf((*MockUnsignedTx)(nil).InputIDs))
}

// InputUTXOs mocks base method.
func (m *MockUnsignedTx) InputUTXOs() []*lux.UTXOID {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InputUTXOs")
	ret0, _ := ret[0].([]*lux.UTXOID)
	return ret0
}

// InputUTXOs indicates an expected call of InputUTXOs.
func (mr *MockUnsignedTxMockRecorder) InputUTXOs() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InputUTXOs", reflect.TypeOf((*MockUnsignedTx)(nil).InputUTXOs))
}

// NumCredentials mocks base method.
func (m *MockUnsignedTx) NumCredentials() int {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "NumCredentials")
	ret0, _ := ret[0].(int)
	return ret0
}

// NumCredentials indicates an expected call of NumCredentials.
func (mr *MockUnsignedTxMockRecorder) NumCredentials() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NumCredentials", reflect.TypeOf((*MockUnsignedTx)(nil).NumCredentials))
}

// SetBytes mocks base method.
func (m *MockUnsignedTx) SetBytes(unsignedBytes []byte) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "SetBytes", unsignedBytes)
}

// SetBytes indicates an expected call of SetBytes.
func (mr *MockUnsignedTxMockRecorder) SetBytes(unsignedBytes any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBytes", reflect.TypeOf((*MockUnsignedTx)(nil).SetBytes), unsignedBytes)
}

// Visit mocks base method.
func (m *MockUnsignedTx) Visit(visitor Visitor) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Visit", visitor)
	ret0, _ := ret[0].(error)
	return ret0
}

// Visit indicates an expected call of Visit.
func (mr *MockUnsignedTxMockRecorder) Visit(visitor any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Visit", reflect.TypeOf((*MockUnsignedTx)(nil).Visit), visitor)
}
