github.com/adoriasoft/tendermint@v0.34.0-dev1.0.20200722151356-96d84601a75a/proxy/mocks/app_conn_mempool.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import (
     6  	mock "github.com/stretchr/testify/mock"
     7  	abcicli "github.com/tendermint/tendermint/abci/client"
     8  
     9  	types "github.com/tendermint/tendermint/abci/types"
    10  )
    11  
    12  // AppConnMempool is an autogenerated mock type for the AppConnMempool type
    13  type AppConnMempool struct {
    14  	mock.Mock
    15  }
    16  
    17  // CheckTxAsync provides a mock function with given fields: _a0
    18  func (_m *AppConnMempool) CheckTxAsync(_a0 types.RequestCheckTx) *abcicli.ReqRes {
    19  	ret := _m.Called(_a0)
    20  
    21  	var r0 *abcicli.ReqRes
    22  	if rf, ok := ret.Get(0).(func(types.RequestCheckTx) *abcicli.ReqRes); ok {
    23  		r0 = rf(_a0)
    24  	} else {
    25  		if ret.Get(0) != nil {
    26  			r0 = ret.Get(0).(*abcicli.ReqRes)
    27  		}
    28  	}
    29  
    30  	return r0
    31  }
    32  
    33  // Error provides a mock function with given fields:
    34  func (_m *AppConnMempool) Error() error {
    35  	ret := _m.Called()
    36  
    37  	var r0 error
    38  	if rf, ok := ret.Get(0).(func() error); ok {
    39  		r0 = rf()
    40  	} else {
    41  		r0 = ret.Error(0)
    42  	}
    43  
    44  	return r0
    45  }
    46  
    47  // FlushAsync provides a mock function with given fields:
    48  func (_m *AppConnMempool) FlushAsync() *abcicli.ReqRes {
    49  	ret := _m.Called()
    50  
    51  	var r0 *abcicli.ReqRes
    52  	if rf, ok := ret.Get(0).(func() *abcicli.ReqRes); ok {
    53  		r0 = rf()
    54  	} else {
    55  		if ret.Get(0) != nil {
    56  			r0 = ret.Get(0).(*abcicli.ReqRes)
    57  		}
    58  	}
    59  
    60  	return r0
    61  }
    62  
    63  // FlushSync provides a mock function with given fields:
    64  func (_m *AppConnMempool) FlushSync() error {
    65  	ret := _m.Called()
    66  
    67  	var r0 error
    68  	if rf, ok := ret.Get(0).(func() error); ok {
    69  		r0 = rf()
    70  	} else {
    71  		r0 = ret.Error(0)
    72  	}
    73  
    74  	return r0
    75  }
    76  
    77  // SetResponseCallback provides a mock function with given fields: _a0
    78  func (_m *AppConnMempool) SetResponseCallback(_a0 abcicli.Callback) {
    79  	_m.Called(_a0)
    80  }