Skip to content
Snippets Groups Projects
ConfigCallback.go 575 B
Newer Older
  • Learn to ignore specific revisions
  • // Code generated by mockery v2.6.0. DO NOT EDIT.
    
    package mocks
    
    import (
    	ygot "github.com/openconfig/ygot/ygot"
    	mock "github.com/stretchr/testify/mock"
    )
    
    // ConfigCallback is an autogenerated mock type for the ConfigCallback type
    type ConfigCallback struct {
    	mock.Mock
    }
    
    // Execute provides a mock function with given fields: _a0
    func (_m *ConfigCallback) Execute(_a0 ygot.ValidatedGoStruct) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(ygot.ValidatedGoStruct) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }