// Code generated by mockery v2.20.0. DO NOT EDIT.

package mocks

import (
	conflict "code.fbi.h-da.de/danet/gosdn/controller/conflict"
	mock "github.com/stretchr/testify/mock"

	plugin "code.fbi.h-da.de/danet/gosdn/controller/interfaces/plugin"

	protoreflect "google.golang.org/protobuf/reflect/protoreflect"

	transport "code.fbi.h-da.de/danet/gosdn/controller/interfaces/transport"

	uuid "github.com/google/uuid"
)

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

// GetMetadata provides a mock function with given fields:
func (_m *NetworkElement) GetMetadata() conflict.Metadata {
	ret := _m.Called()

	var r0 conflict.Metadata
	if rf, ok := ret.Get(0).(func() conflict.Metadata); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(conflict.Metadata)
	}

	return r0
}

// GetModel provides a mock function with given fields:
func (_m *NetworkElement) GetModel() ([]byte, error) {
	ret := _m.Called()

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func() ([]byte, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() []byte); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// GetModelAsFilteredCopy provides a mock function with given fields:
func (_m *NetworkElement) GetModelAsFilteredCopy() ([]byte, error) {
	ret := _m.Called()

	var r0 []byte
	var r1 error
	if rf, ok := ret.Get(0).(func() ([]byte, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() []byte); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}

	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// GetModelAsString provides a mock function with given fields:
func (_m *NetworkElement) GetModelAsString() (string, error) {
	ret := _m.Called()

	var r0 string
	var r1 error
	if rf, ok := ret.Get(0).(func() (string, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// GetPlugin provides a mock function with given fields:
func (_m *NetworkElement) GetPlugin() plugin.Plugin {
	ret := _m.Called()

	var r0 plugin.Plugin
	if rf, ok := ret.Get(0).(func() plugin.Plugin); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(plugin.Plugin)
		}
	}

	return r0
}

// ID provides a mock function with given fields:
func (_m *NetworkElement) ID() uuid.UUID {
	ret := _m.Called()

	var r0 uuid.UUID
	if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(uuid.UUID)
		}
	}

	return r0
}

// IsTransportValid provides a mock function with given fields:
func (_m *NetworkElement) IsTransportValid() 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
}

// Name provides a mock function with given fields:
func (_m *NetworkElement) Name() string {
	ret := _m.Called()

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// PndID provides a mock function with given fields:
func (_m *NetworkElement) PndID() uuid.UUID {
	ret := _m.Called()

	var r0 uuid.UUID
	if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(uuid.UUID)
		}
	}

	return r0
}

// ProcessResponse provides a mock function with given fields: _a0
func (_m *NetworkElement) ProcessResponse(_a0 protoreflect.ProtoMessage) error {
	ret := _m.Called(_a0)

	var r0 error
	if rf, ok := ret.Get(0).(func(protoreflect.ProtoMessage) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// Transport provides a mock function with given fields:
func (_m *NetworkElement) Transport() transport.Transport {
	ret := _m.Called()

	var r0 transport.Transport
	if rf, ok := ret.Get(0).(func() transport.Transport); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(transport.Transport)
		}
	}

	return r0
}

// TransportAddress provides a mock function with given fields:
func (_m *NetworkElement) TransportAddress() string {
	ret := _m.Called()

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

type mockConstructorTestingTNewNetworkElement interface {
	mock.TestingT
	Cleanup(func())
}

// NewNetworkElement creates a new instance of NetworkElement. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewNetworkElement(t mockConstructorTestingTNewNetworkElement) *NetworkElement {
	mock := &NetworkElement{}
	mock.Mock.Test(t)

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

	return mock
}
