github.com/graphql-editor/azure-functions-golang-worker@v0.1.0/mocks/TypeLoader.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package mocks 4 5 import api "github.com/graphql-editor/azure-functions-golang-worker/api" 6 import mock "github.com/stretchr/testify/mock" 7 import reflect "reflect" 8 import worker "github.com/graphql-editor/azure-functions-golang-worker/worker" 9 10 // TypeLoader is an autogenerated mock type for the TypeLoader type 11 type TypeLoader struct { 12 mock.Mock 13 } 14 15 // GetFunctionType provides a mock function with given fields: _a0, _a1 16 func (_m *TypeLoader) GetFunctionType(_a0 worker.FunctionInfo, _a1 api.Logger) (reflect.Type, error) { 17 ret := _m.Called(_a0, _a1) 18 19 var r0 reflect.Type 20 if rf, ok := ret.Get(0).(func(worker.FunctionInfo, api.Logger) reflect.Type); ok { 21 r0 = rf(_a0, _a1) 22 } else { 23 if ret.Get(0) != nil { 24 r0 = ret.Get(0).(reflect.Type) 25 } 26 } 27 28 var r1 error 29 if rf, ok := ret.Get(1).(func(worker.FunctionInfo, api.Logger) error); ok { 30 r1 = rf(_a0, _a1) 31 } else { 32 r1 = ret.Error(1) 33 } 34 35 return r0, r1 36 }