github.com/graphql-editor/azure-functions-golang-worker@v0.1.0/mocks/FunctionRpcServer.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  import rpc "github.com/graphql-editor/azure-functions-golang-worker/rpc"
     7  
     8  // FunctionRpcServer is an autogenerated mock type for the FunctionRpcServer type
     9  type FunctionRpcServer struct {
    10  	mock.Mock
    11  }
    12  
    13  // EventStream provides a mock function with given fields: _a0
    14  func (_m *FunctionRpcServer) EventStream(_a0 rpc.FunctionRpc_EventStreamServer) error {
    15  	ret := _m.Called(_a0)
    16  
    17  	var r0 error
    18  	if rf, ok := ret.Get(0).(func(rpc.FunctionRpc_EventStreamServer) error); ok {
    19  		r0 = rf(_a0)
    20  	} else {
    21  		r0 = ret.Error(0)
    22  	}
    23  
    24  	return r0
    25  }