github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/committer/txvalidator/v20/plugindispatcher/mocks/capabilities.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  
     7  // Capabilities is an autogenerated mock type for the Capabilities type
     8  type Capabilities struct {
     9  	mock.Mock
    10  }
    11  
    12  // ACLs provides a mock function with given fields:
    13  func (_m *Capabilities) ACLs() bool {
    14  	ret := _m.Called()
    15  
    16  	var r0 bool
    17  	if rf, ok := ret.Get(0).(func() bool); ok {
    18  		r0 = rf()
    19  	} else {
    20  		r0 = ret.Get(0).(bool)
    21  	}
    22  
    23  	return r0
    24  }
    25  
    26  // CollectionUpgrade provides a mock function with given fields:
    27  func (_m *Capabilities) CollectionUpgrade() bool {
    28  	ret := _m.Called()
    29  
    30  	var r0 bool
    31  	if rf, ok := ret.Get(0).(func() bool); ok {
    32  		r0 = rf()
    33  	} else {
    34  		r0 = ret.Get(0).(bool)
    35  	}
    36  
    37  	return r0
    38  }
    39  
    40  // ForbidDuplicateTXIdInBlock provides a mock function with given fields:
    41  func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool {
    42  	ret := _m.Called()
    43  
    44  	var r0 bool
    45  	if rf, ok := ret.Get(0).(func() bool); ok {
    46  		r0 = rf()
    47  	} else {
    48  		r0 = ret.Get(0).(bool)
    49  	}
    50  
    51  	return r0
    52  }
    53  
    54  // KeyLevelEndorsement provides a mock function with given fields:
    55  func (_m *Capabilities) KeyLevelEndorsement() bool {
    56  	ret := _m.Called()
    57  
    58  	var r0 bool
    59  	if rf, ok := ret.Get(0).(func() bool); ok {
    60  		r0 = rf()
    61  	} else {
    62  		r0 = ret.Get(0).(bool)
    63  	}
    64  
    65  	return r0
    66  }
    67  
    68  // MetadataLifecycle provides a mock function with given fields:
    69  func (_m *Capabilities) MetadataLifecycle() bool {
    70  	ret := _m.Called()
    71  
    72  	var r0 bool
    73  	if rf, ok := ret.Get(0).(func() bool); ok {
    74  		r0 = rf()
    75  	} else {
    76  		r0 = ret.Get(0).(bool)
    77  	}
    78  
    79  	return r0
    80  }
    81  
    82  // PrivateChannelData provides a mock function with given fields:
    83  func (_m *Capabilities) PrivateChannelData() bool {
    84  	ret := _m.Called()
    85  
    86  	var r0 bool
    87  	if rf, ok := ret.Get(0).(func() bool); ok {
    88  		r0 = rf()
    89  	} else {
    90  		r0 = ret.Get(0).(bool)
    91  	}
    92  
    93  	return r0
    94  }
    95  
    96  // StorePvtDataOfInvalidTx provides a mock function with given fields:
    97  func (_m *Capabilities) StorePvtDataOfInvalidTx() bool {
    98  	ret := _m.Called()
    99  
   100  	var r0 bool
   101  	if rf, ok := ret.Get(0).(func() bool); ok {
   102  		r0 = rf()
   103  	} else {
   104  		r0 = ret.Get(0).(bool)
   105  	}
   106  
   107  	return r0
   108  }
   109  
   110  // Supported provides a mock function with given fields:
   111  func (_m *Capabilities) Supported() error {
   112  	ret := _m.Called()
   113  
   114  	var r0 error
   115  	if rf, ok := ret.Get(0).(func() error); ok {
   116  		r0 = rf()
   117  	} else {
   118  		r0 = ret.Error(0)
   119  	}
   120  
   121  	return r0
   122  }
   123  
   124  // V1_1Validation provides a mock function with given fields:
   125  func (_m *Capabilities) V1_1Validation() bool {
   126  	ret := _m.Called()
   127  
   128  	var r0 bool
   129  	if rf, ok := ret.Get(0).(func() bool); ok {
   130  		r0 = rf()
   131  	} else {
   132  		r0 = ret.Get(0).(bool)
   133  	}
   134  
   135  	return r0
   136  }
   137  
   138  // V1_2Validation provides a mock function with given fields:
   139  func (_m *Capabilities) V1_2Validation() bool {
   140  	ret := _m.Called()
   141  
   142  	var r0 bool
   143  	if rf, ok := ret.Get(0).(func() bool); ok {
   144  		r0 = rf()
   145  	} else {
   146  		r0 = ret.Get(0).(bool)
   147  	}
   148  
   149  	return r0
   150  }
   151  
   152  // V1_3Validation provides a mock function with given fields:
   153  func (_m *Capabilities) V1_3Validation() bool {
   154  	ret := _m.Called()
   155  
   156  	var r0 bool
   157  	if rf, ok := ret.Get(0).(func() bool); ok {
   158  		r0 = rf()
   159  	} else {
   160  		r0 = ret.Get(0).(bool)
   161  	}
   162  
   163  	return r0
   164  }
   165  
   166  // V2_0Validation provides a mock function with given fields:
   167  func (_m *Capabilities) V2_0Validation() bool {
   168  	ret := _m.Called()
   169  
   170  	var r0 bool
   171  	if rf, ok := ret.Get(0).(func() bool); ok {
   172  		r0 = rf()
   173  	} else {
   174  		r0 = ret.Get(0).(bool)
   175  	}
   176  
   177  	return r0
   178  }