github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/committer/txvalidator/mocks/capability_provider.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import (
     6  	channelconfig "github.com/hechain20/hechain/common/channelconfig"
     7  	mock "github.com/stretchr/testify/mock"
     8  )
     9  
    10  // CapabilityProvider is an autogenerated mock type for the CapabilityProvider type
    11  type CapabilityProvider struct {
    12  	mock.Mock
    13  }
    14  
    15  // Capabilities provides a mock function with given fields:
    16  func (_m *CapabilityProvider) Capabilities() channelconfig.ApplicationCapabilities {
    17  	ret := _m.Called()
    18  
    19  	var r0 channelconfig.ApplicationCapabilities
    20  	if rf, ok := ret.Get(0).(func() channelconfig.ApplicationCapabilities); ok {
    21  		r0 = rf()
    22  	} else {
    23  		if ret.Get(0) != nil {
    24  			r0 = ret.Get(0).(channelconfig.ApplicationCapabilities)
    25  		}
    26  	}
    27  
    28  	return r0
    29  }