github.com/graphql-editor/azure-functions-golang-worker@v0.1.0/mocks/ReturnFunction.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 context "context"
     7  import mock "github.com/stretchr/testify/mock"
     8  
     9  // ReturnFunction is an autogenerated mock type for the ReturnFunction type
    10  type ReturnFunction struct {
    11  	mock.Mock
    12  }
    13  
    14  // Run provides a mock function with given fields: _a0, _a1
    15  func (_m *ReturnFunction) Run(_a0 context.Context, _a1 api.Logger) interface{} {
    16  	ret := _m.Called(_a0, _a1)
    17  
    18  	var r0 interface{}
    19  	if rf, ok := ret.Get(0).(func(context.Context, api.Logger) interface{}); ok {
    20  		r0 = rf(_a0, _a1)
    21  	} else {
    22  		if ret.Get(0) != nil {
    23  			r0 = ret.Get(0).(interface{})
    24  		}
    25  	}
    26  
    27  	return r0
    28  }