github.com/consideritdone/landslidecore@v0.0.0-20230718131026-a8b21c5cf8a7/proxy/mocks/client_creator.go (about)

     1  // Code generated by mockery v1.1.1. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import (
     6  	mock "github.com/stretchr/testify/mock"
     7  
     8  	abcicli "github.com/consideritdone/landslidecore/abci/client"
     9  )
    10  
    11  // ClientCreator is an autogenerated mock type for the ClientCreator type
    12  type ClientCreator struct {
    13  	mock.Mock
    14  }
    15  
    16  // NewABCIClient provides a mock function with given fields:
    17  func (_m *ClientCreator) NewABCIClient() (abcicli.Client, error) {
    18  	ret := _m.Called()
    19  
    20  	var r0 abcicli.Client
    21  	if rf, ok := ret.Get(0).(func() abcicli.Client); ok {
    22  		r0 = rf()
    23  	} else {
    24  		if ret.Get(0) != nil {
    25  			r0 = ret.Get(0).(abcicli.Client)
    26  		}
    27  	}
    28  
    29  	var r1 error
    30  	if rf, ok := ret.Get(1).(func() error); ok {
    31  		r1 = rf()
    32  	} else {
    33  		r1 = ret.Error(1)
    34  	}
    35  
    36  	return r0, r1
    37  }