Skip to content
Snippets Groups Projects
Device.go 2.25 KiB
Newer Older
  • Learn to ignore specific revisions
  • // Code generated by mockery v2.10.0. DO NOT EDIT.
    
    
    package mocks
    
    import (
    
    	southbound "code.fbi.h-da.de/danet/gosdn/controller/interfaces/southbound"
    
    	mock "github.com/stretchr/testify/mock"
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    
    
    	transport "code.fbi.h-da.de/danet/gosdn/controller/interfaces/transport"
    
    
    	uuid "github.com/google/uuid"
    
    	ygot "github.com/openconfig/ygot/ygot"
    )
    
    // Device is an autogenerated mock type for the Device type
    type Device struct {
    	mock.Mock
    }
    
    // ID provides a mock function with given fields:
    func (_m *Device) 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
    }
    
    // Model provides a mock function with given fields:
    func (_m *Device) Model() ygot.GoStruct {
    	ret := _m.Called()
    
    	var r0 ygot.GoStruct
    	if rf, ok := ret.Get(0).(func() ygot.GoStruct); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(ygot.GoStruct)
    		}
    	}
    
    	return r0
    }
    
    // Name provides a mock function with given fields:
    func (_m *Device) 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
    }
    
    // ProcessResponse provides a mock function with given fields: _a0
    func (_m *Device) 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
    }
    
    // SBI provides a mock function with given fields:
    func (_m *Device) SBI() southbound.SouthboundInterface {
    	ret := _m.Called()
    
    	var r0 southbound.SouthboundInterface
    	if rf, ok := ret.Get(0).(func() southbound.SouthboundInterface); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(southbound.SouthboundInterface)
    		}
    	}
    
    	return r0
    }
    
    // Transport provides a mock function with given fields:
    func (_m *Device) 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
    }