github.com/cosmos/cosmos-sdk@v0.50.10/testutil/mock/types_mock_appmodule.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: types/module/mock_appmodule_test.go
     3  
     4  // Package mock is a generated GoMock package.
     5  package mock
     6  
     7  import (
     8  	context "context"
     9  	json "encoding/json"
    10  	reflect "reflect"
    11  
    12  	appmodule "cosmossdk.io/core/appmodule"
    13  	types "github.com/cometbft/cometbft/abci/types"
    14  	client "github.com/cosmos/cosmos-sdk/client"
    15  	codec "github.com/cosmos/cosmos-sdk/codec"
    16  	types0 "github.com/cosmos/cosmos-sdk/codec/types"
    17  	types1 "github.com/cosmos/cosmos-sdk/types"
    18  	module "github.com/cosmos/cosmos-sdk/types/module"
    19  	gomock "github.com/golang/mock/gomock"
    20  	runtime "github.com/grpc-ecosystem/grpc-gateway/runtime"
    21  )
    22  
    23  // MockAppModuleWithAllExtensions is a mock of AppModuleWithAllExtensions interface.
    24  type MockAppModuleWithAllExtensions struct {
    25  	ctrl     *gomock.Controller
    26  	recorder *MockAppModuleWithAllExtensionsMockRecorder
    27  }
    28  
    29  // MockAppModuleWithAllExtensionsMockRecorder is the mock recorder for MockAppModuleWithAllExtensions.
    30  type MockAppModuleWithAllExtensionsMockRecorder struct {
    31  	mock *MockAppModuleWithAllExtensions
    32  }
    33  
    34  // NewMockAppModuleWithAllExtensions creates a new mock instance.
    35  func NewMockAppModuleWithAllExtensions(ctrl *gomock.Controller) *MockAppModuleWithAllExtensions {
    36  	mock := &MockAppModuleWithAllExtensions{ctrl: ctrl}
    37  	mock.recorder = &MockAppModuleWithAllExtensionsMockRecorder{mock}
    38  	return mock
    39  }
    40  
    41  // EXPECT returns an object that allows the caller to indicate expected use.
    42  func (m *MockAppModuleWithAllExtensions) EXPECT() *MockAppModuleWithAllExtensionsMockRecorder {
    43  	return m.recorder
    44  }
    45  
    46  // ConsensusVersion mocks base method.
    47  func (m *MockAppModuleWithAllExtensions) ConsensusVersion() uint64 {
    48  	m.ctrl.T.Helper()
    49  	ret := m.ctrl.Call(m, "ConsensusVersion")
    50  	ret0, _ := ret[0].(uint64)
    51  	return ret0
    52  }
    53  
    54  // ConsensusVersion indicates an expected call of ConsensusVersion.
    55  func (mr *MockAppModuleWithAllExtensionsMockRecorder) ConsensusVersion() *gomock.Call {
    56  	mr.mock.ctrl.T.Helper()
    57  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConsensusVersion", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).ConsensusVersion))
    58  }
    59  
    60  // DefaultGenesis mocks base method.
    61  func (m *MockAppModuleWithAllExtensions) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage {
    62  	m.ctrl.T.Helper()
    63  	ret := m.ctrl.Call(m, "DefaultGenesis", arg0)
    64  	ret0, _ := ret[0].(json.RawMessage)
    65  	return ret0
    66  }
    67  
    68  // DefaultGenesis indicates an expected call of DefaultGenesis.
    69  func (mr *MockAppModuleWithAllExtensionsMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call {
    70  	mr.mock.ctrl.T.Helper()
    71  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).DefaultGenesis), arg0)
    72  }
    73  
    74  // EndBlock mocks base method.
    75  func (m *MockAppModuleWithAllExtensions) EndBlock(arg0 context.Context) ([]types.ValidatorUpdate, error) {
    76  	m.ctrl.T.Helper()
    77  	ret := m.ctrl.Call(m, "EndBlock", arg0)
    78  	ret0, _ := ret[0].([]types.ValidatorUpdate)
    79  	ret1, _ := ret[1].(error)
    80  	return ret0, ret1
    81  }
    82  
    83  // EndBlock indicates an expected call of EndBlock.
    84  func (mr *MockAppModuleWithAllExtensionsMockRecorder) EndBlock(arg0 interface{}) *gomock.Call {
    85  	mr.mock.ctrl.T.Helper()
    86  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EndBlock", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).EndBlock), arg0)
    87  }
    88  
    89  // ExportGenesis mocks base method.
    90  func (m *MockAppModuleWithAllExtensions) ExportGenesis(arg0 types1.Context, arg1 codec.JSONCodec) json.RawMessage {
    91  	m.ctrl.T.Helper()
    92  	ret := m.ctrl.Call(m, "ExportGenesis", arg0, arg1)
    93  	ret0, _ := ret[0].(json.RawMessage)
    94  	return ret0
    95  }
    96  
    97  // ExportGenesis indicates an expected call of ExportGenesis.
    98  func (mr *MockAppModuleWithAllExtensionsMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call {
    99  	mr.mock.ctrl.T.Helper()
   100  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).ExportGenesis), arg0, arg1)
   101  }
   102  
   103  // InitGenesis mocks base method.
   104  func (m *MockAppModuleWithAllExtensions) InitGenesis(arg0 types1.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) {
   105  	m.ctrl.T.Helper()
   106  	m.ctrl.Call(m, "InitGenesis", arg0, arg1, arg2)
   107  }
   108  
   109  // InitGenesis indicates an expected call of InitGenesis.
   110  func (mr *MockAppModuleWithAllExtensionsMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call {
   111  	mr.mock.ctrl.T.Helper()
   112  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).InitGenesis), arg0, arg1, arg2)
   113  }
   114  
   115  // IsAppModule mocks base method.
   116  func (m *MockAppModuleWithAllExtensions) IsAppModule() {
   117  	m.ctrl.T.Helper()
   118  	m.ctrl.Call(m, "IsAppModule")
   119  }
   120  
   121  // IsAppModule indicates an expected call of IsAppModule.
   122  func (mr *MockAppModuleWithAllExtensionsMockRecorder) IsAppModule() *gomock.Call {
   123  	mr.mock.ctrl.T.Helper()
   124  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAppModule", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).IsAppModule))
   125  }
   126  
   127  // IsOnePerModuleType mocks base method.
   128  func (m *MockAppModuleWithAllExtensions) IsOnePerModuleType() {
   129  	m.ctrl.T.Helper()
   130  	m.ctrl.Call(m, "IsOnePerModuleType")
   131  }
   132  
   133  // IsOnePerModuleType indicates an expected call of IsOnePerModuleType.
   134  func (mr *MockAppModuleWithAllExtensionsMockRecorder) IsOnePerModuleType() *gomock.Call {
   135  	mr.mock.ctrl.T.Helper()
   136  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOnePerModuleType", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).IsOnePerModuleType))
   137  }
   138  
   139  // Name mocks base method.
   140  func (m *MockAppModuleWithAllExtensions) Name() string {
   141  	m.ctrl.T.Helper()
   142  	ret := m.ctrl.Call(m, "Name")
   143  	ret0, _ := ret[0].(string)
   144  	return ret0
   145  }
   146  
   147  // Name indicates an expected call of Name.
   148  func (mr *MockAppModuleWithAllExtensionsMockRecorder) Name() *gomock.Call {
   149  	mr.mock.ctrl.T.Helper()
   150  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Name", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).Name))
   151  }
   152  
   153  // RegisterGRPCGatewayRoutes mocks base method.
   154  func (m *MockAppModuleWithAllExtensions) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux) {
   155  	m.ctrl.T.Helper()
   156  	m.ctrl.Call(m, "RegisterGRPCGatewayRoutes", arg0, arg1)
   157  }
   158  
   159  // RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.
   160  func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call {
   161  	mr.mock.ctrl.T.Helper()
   162  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterGRPCGatewayRoutes", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).RegisterGRPCGatewayRoutes), arg0, arg1)
   163  }
   164  
   165  // RegisterInterfaces mocks base method.
   166  func (m *MockAppModuleWithAllExtensions) RegisterInterfaces(arg0 types0.InterfaceRegistry) {
   167  	m.ctrl.T.Helper()
   168  	m.ctrl.Call(m, "RegisterInterfaces", arg0)
   169  }
   170  
   171  // RegisterInterfaces indicates an expected call of RegisterInterfaces.
   172  func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call {
   173  	mr.mock.ctrl.T.Helper()
   174  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterInterfaces", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).RegisterInterfaces), arg0)
   175  }
   176  
   177  // RegisterInvariants mocks base method.
   178  func (m *MockAppModuleWithAllExtensions) RegisterInvariants(arg0 types1.InvariantRegistry) {
   179  	m.ctrl.T.Helper()
   180  	m.ctrl.Call(m, "RegisterInvariants", arg0)
   181  }
   182  
   183  // RegisterInvariants indicates an expected call of RegisterInvariants.
   184  func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call {
   185  	mr.mock.ctrl.T.Helper()
   186  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterInvariants", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).RegisterInvariants), arg0)
   187  }
   188  
   189  // RegisterLegacyAminoCodec mocks base method.
   190  func (m *MockAppModuleWithAllExtensions) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino) {
   191  	m.ctrl.T.Helper()
   192  	m.ctrl.Call(m, "RegisterLegacyAminoCodec", arg0)
   193  }
   194  
   195  // RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.
   196  func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call {
   197  	mr.mock.ctrl.T.Helper()
   198  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterLegacyAminoCodec", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).RegisterLegacyAminoCodec), arg0)
   199  }
   200  
   201  // RegisterServices mocks base method.
   202  func (m *MockAppModuleWithAllExtensions) RegisterServices(arg0 module.Configurator) {
   203  	m.ctrl.T.Helper()
   204  	m.ctrl.Call(m, "RegisterServices", arg0)
   205  }
   206  
   207  // RegisterServices indicates an expected call of RegisterServices.
   208  func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call {
   209  	mr.mock.ctrl.T.Helper()
   210  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterServices", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).RegisterServices), arg0)
   211  }
   212  
   213  // ValidateGenesis mocks base method.
   214  func (m *MockAppModuleWithAllExtensions) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error {
   215  	m.ctrl.T.Helper()
   216  	ret := m.ctrl.Call(m, "ValidateGenesis", arg0, arg1, arg2)
   217  	ret0, _ := ret[0].(error)
   218  	return ret0
   219  }
   220  
   221  // ValidateGenesis indicates an expected call of ValidateGenesis.
   222  func (mr *MockAppModuleWithAllExtensionsMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call {
   223  	mr.mock.ctrl.T.Helper()
   224  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensions)(nil).ValidateGenesis), arg0, arg1, arg2)
   225  }
   226  
   227  // MockAppModuleWithAllExtensionsABCI is a mock of AppModuleWithAllExtensionsABCI interface.
   228  type MockAppModuleWithAllExtensionsABCI struct {
   229  	ctrl     *gomock.Controller
   230  	recorder *MockAppModuleWithAllExtensionsABCIMockRecorder
   231  }
   232  
   233  // MockAppModuleWithAllExtensionsABCIMockRecorder is the mock recorder for MockAppModuleWithAllExtensionsABCI.
   234  type MockAppModuleWithAllExtensionsABCIMockRecorder struct {
   235  	mock *MockAppModuleWithAllExtensionsABCI
   236  }
   237  
   238  // NewMockAppModuleWithAllExtensionsABCI creates a new mock instance.
   239  func NewMockAppModuleWithAllExtensionsABCI(ctrl *gomock.Controller) *MockAppModuleWithAllExtensionsABCI {
   240  	mock := &MockAppModuleWithAllExtensionsABCI{ctrl: ctrl}
   241  	mock.recorder = &MockAppModuleWithAllExtensionsABCIMockRecorder{mock}
   242  	return mock
   243  }
   244  
   245  // EXPECT returns an object that allows the caller to indicate expected use.
   246  func (m *MockAppModuleWithAllExtensionsABCI) EXPECT() *MockAppModuleWithAllExtensionsABCIMockRecorder {
   247  	return m.recorder
   248  }
   249  
   250  // ConsensusVersion mocks base method.
   251  func (m *MockAppModuleWithAllExtensionsABCI) ConsensusVersion() uint64 {
   252  	m.ctrl.T.Helper()
   253  	ret := m.ctrl.Call(m, "ConsensusVersion")
   254  	ret0, _ := ret[0].(uint64)
   255  	return ret0
   256  }
   257  
   258  // ConsensusVersion indicates an expected call of ConsensusVersion.
   259  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) ConsensusVersion() *gomock.Call {
   260  	mr.mock.ctrl.T.Helper()
   261  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConsensusVersion", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).ConsensusVersion))
   262  }
   263  
   264  // DefaultGenesis mocks base method.
   265  func (m *MockAppModuleWithAllExtensionsABCI) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage {
   266  	m.ctrl.T.Helper()
   267  	ret := m.ctrl.Call(m, "DefaultGenesis", arg0)
   268  	ret0, _ := ret[0].(json.RawMessage)
   269  	return ret0
   270  }
   271  
   272  // DefaultGenesis indicates an expected call of DefaultGenesis.
   273  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call {
   274  	mr.mock.ctrl.T.Helper()
   275  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).DefaultGenesis), arg0)
   276  }
   277  
   278  // EndBlock mocks base method.
   279  func (m *MockAppModuleWithAllExtensionsABCI) EndBlock(arg0 context.Context) ([]types.ValidatorUpdate, error) {
   280  	m.ctrl.T.Helper()
   281  	ret := m.ctrl.Call(m, "EndBlock", arg0)
   282  	ret0, _ := ret[0].([]types.ValidatorUpdate)
   283  	ret1, _ := ret[1].(error)
   284  	return ret0, ret1
   285  }
   286  
   287  // EndBlock indicates an expected call of EndBlock.
   288  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) EndBlock(arg0 interface{}) *gomock.Call {
   289  	mr.mock.ctrl.T.Helper()
   290  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EndBlock", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).EndBlock), arg0)
   291  }
   292  
   293  // ExportGenesis mocks base method.
   294  func (m *MockAppModuleWithAllExtensionsABCI) ExportGenesis(arg0 types1.Context, arg1 codec.JSONCodec) json.RawMessage {
   295  	m.ctrl.T.Helper()
   296  	ret := m.ctrl.Call(m, "ExportGenesis", arg0, arg1)
   297  	ret0, _ := ret[0].(json.RawMessage)
   298  	return ret0
   299  }
   300  
   301  // ExportGenesis indicates an expected call of ExportGenesis.
   302  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call {
   303  	mr.mock.ctrl.T.Helper()
   304  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).ExportGenesis), arg0, arg1)
   305  }
   306  
   307  // InitGenesis mocks base method.
   308  func (m *MockAppModuleWithAllExtensionsABCI) InitGenesis(arg0 types1.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) []types.ValidatorUpdate {
   309  	m.ctrl.T.Helper()
   310  	ret := m.ctrl.Call(m, "InitGenesis", arg0, arg1, arg2)
   311  	ret0, _ := ret[0].([]types.ValidatorUpdate)
   312  	return ret0
   313  }
   314  
   315  // InitGenesis indicates an expected call of InitGenesis.
   316  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call {
   317  	mr.mock.ctrl.T.Helper()
   318  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).InitGenesis), arg0, arg1, arg2)
   319  }
   320  
   321  // IsAppModule mocks base method.
   322  func (m *MockAppModuleWithAllExtensionsABCI) IsAppModule() {
   323  	m.ctrl.T.Helper()
   324  	m.ctrl.Call(m, "IsAppModule")
   325  }
   326  
   327  // IsAppModule indicates an expected call of IsAppModule.
   328  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) IsAppModule() *gomock.Call {
   329  	mr.mock.ctrl.T.Helper()
   330  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAppModule", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).IsAppModule))
   331  }
   332  
   333  // IsOnePerModuleType mocks base method.
   334  func (m *MockAppModuleWithAllExtensionsABCI) IsOnePerModuleType() {
   335  	m.ctrl.T.Helper()
   336  	m.ctrl.Call(m, "IsOnePerModuleType")
   337  }
   338  
   339  // IsOnePerModuleType indicates an expected call of IsOnePerModuleType.
   340  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) IsOnePerModuleType() *gomock.Call {
   341  	mr.mock.ctrl.T.Helper()
   342  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOnePerModuleType", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).IsOnePerModuleType))
   343  }
   344  
   345  // Name mocks base method.
   346  func (m *MockAppModuleWithAllExtensionsABCI) Name() string {
   347  	m.ctrl.T.Helper()
   348  	ret := m.ctrl.Call(m, "Name")
   349  	ret0, _ := ret[0].(string)
   350  	return ret0
   351  }
   352  
   353  // Name indicates an expected call of Name.
   354  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) Name() *gomock.Call {
   355  	mr.mock.ctrl.T.Helper()
   356  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Name", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).Name))
   357  }
   358  
   359  // RegisterGRPCGatewayRoutes mocks base method.
   360  func (m *MockAppModuleWithAllExtensionsABCI) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux) {
   361  	m.ctrl.T.Helper()
   362  	m.ctrl.Call(m, "RegisterGRPCGatewayRoutes", arg0, arg1)
   363  }
   364  
   365  // RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.
   366  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call {
   367  	mr.mock.ctrl.T.Helper()
   368  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterGRPCGatewayRoutes", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).RegisterGRPCGatewayRoutes), arg0, arg1)
   369  }
   370  
   371  // RegisterInterfaces mocks base method.
   372  func (m *MockAppModuleWithAllExtensionsABCI) RegisterInterfaces(arg0 types0.InterfaceRegistry) {
   373  	m.ctrl.T.Helper()
   374  	m.ctrl.Call(m, "RegisterInterfaces", arg0)
   375  }
   376  
   377  // RegisterInterfaces indicates an expected call of RegisterInterfaces.
   378  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call {
   379  	mr.mock.ctrl.T.Helper()
   380  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterInterfaces", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).RegisterInterfaces), arg0)
   381  }
   382  
   383  // RegisterInvariants mocks base method.
   384  func (m *MockAppModuleWithAllExtensionsABCI) RegisterInvariants(arg0 types1.InvariantRegistry) {
   385  	m.ctrl.T.Helper()
   386  	m.ctrl.Call(m, "RegisterInvariants", arg0)
   387  }
   388  
   389  // RegisterInvariants indicates an expected call of RegisterInvariants.
   390  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call {
   391  	mr.mock.ctrl.T.Helper()
   392  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterInvariants", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).RegisterInvariants), arg0)
   393  }
   394  
   395  // RegisterLegacyAminoCodec mocks base method.
   396  func (m *MockAppModuleWithAllExtensionsABCI) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino) {
   397  	m.ctrl.T.Helper()
   398  	m.ctrl.Call(m, "RegisterLegacyAminoCodec", arg0)
   399  }
   400  
   401  // RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.
   402  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call {
   403  	mr.mock.ctrl.T.Helper()
   404  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterLegacyAminoCodec", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).RegisterLegacyAminoCodec), arg0)
   405  }
   406  
   407  // RegisterServices mocks base method.
   408  func (m *MockAppModuleWithAllExtensionsABCI) RegisterServices(arg0 module.Configurator) {
   409  	m.ctrl.T.Helper()
   410  	m.ctrl.Call(m, "RegisterServices", arg0)
   411  }
   412  
   413  // RegisterServices indicates an expected call of RegisterServices.
   414  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call {
   415  	mr.mock.ctrl.T.Helper()
   416  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterServices", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).RegisterServices), arg0)
   417  }
   418  
   419  // ValidateGenesis mocks base method.
   420  func (m *MockAppModuleWithAllExtensionsABCI) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error {
   421  	m.ctrl.T.Helper()
   422  	ret := m.ctrl.Call(m, "ValidateGenesis", arg0, arg1, arg2)
   423  	ret0, _ := ret[0].(error)
   424  	return ret0
   425  }
   426  
   427  // ValidateGenesis indicates an expected call of ValidateGenesis.
   428  func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call {
   429  	mr.mock.ctrl.T.Helper()
   430  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateGenesis", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).ValidateGenesis), arg0, arg1, arg2)
   431  }
   432  
   433  // MockCoreAppModule is a mock of CoreAppModule interface.
   434  type MockCoreAppModule struct {
   435  	ctrl     *gomock.Controller
   436  	recorder *MockCoreAppModuleMockRecorder
   437  }
   438  
   439  // MockCoreAppModuleMockRecorder is the mock recorder for MockCoreAppModule.
   440  type MockCoreAppModuleMockRecorder struct {
   441  	mock *MockCoreAppModule
   442  }
   443  
   444  // NewMockCoreAppModule creates a new mock instance.
   445  func NewMockCoreAppModule(ctrl *gomock.Controller) *MockCoreAppModule {
   446  	mock := &MockCoreAppModule{ctrl: ctrl}
   447  	mock.recorder = &MockCoreAppModuleMockRecorder{mock}
   448  	return mock
   449  }
   450  
   451  // EXPECT returns an object that allows the caller to indicate expected use.
   452  func (m *MockCoreAppModule) EXPECT() *MockCoreAppModuleMockRecorder {
   453  	return m.recorder
   454  }
   455  
   456  // BeginBlock mocks base method.
   457  func (m *MockCoreAppModule) BeginBlock(arg0 context.Context) error {
   458  	m.ctrl.T.Helper()
   459  	ret := m.ctrl.Call(m, "BeginBlock", arg0)
   460  	ret0, _ := ret[0].(error)
   461  	return ret0
   462  }
   463  
   464  // BeginBlock indicates an expected call of BeginBlock.
   465  func (mr *MockCoreAppModuleMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call {
   466  	mr.mock.ctrl.T.Helper()
   467  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeginBlock", reflect.TypeOf((*MockCoreAppModule)(nil).BeginBlock), arg0)
   468  }
   469  
   470  // DefaultGenesis mocks base method.
   471  func (m *MockCoreAppModule) DefaultGenesis(arg0 appmodule.GenesisTarget) error {
   472  	m.ctrl.T.Helper()
   473  	ret := m.ctrl.Call(m, "DefaultGenesis", arg0)
   474  	ret0, _ := ret[0].(error)
   475  	return ret0
   476  }
   477  
   478  // DefaultGenesis indicates an expected call of DefaultGenesis.
   479  func (mr *MockCoreAppModuleMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call {
   480  	mr.mock.ctrl.T.Helper()
   481  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultGenesis", reflect.TypeOf((*MockCoreAppModule)(nil).DefaultGenesis), arg0)
   482  }
   483  
   484  // EndBlock mocks base method.
   485  func (m *MockCoreAppModule) EndBlock(arg0 context.Context) error {
   486  	m.ctrl.T.Helper()
   487  	ret := m.ctrl.Call(m, "EndBlock", arg0)
   488  	ret0, _ := ret[0].(error)
   489  	return ret0
   490  }
   491  
   492  // EndBlock indicates an expected call of EndBlock.
   493  func (mr *MockCoreAppModuleMockRecorder) EndBlock(arg0 interface{}) *gomock.Call {
   494  	mr.mock.ctrl.T.Helper()
   495  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EndBlock", reflect.TypeOf((*MockCoreAppModule)(nil).EndBlock), arg0)
   496  }
   497  
   498  // ExportGenesis mocks base method.
   499  func (m *MockCoreAppModule) ExportGenesis(arg0 context.Context, arg1 appmodule.GenesisTarget) error {
   500  	m.ctrl.T.Helper()
   501  	ret := m.ctrl.Call(m, "ExportGenesis", arg0, arg1)
   502  	ret0, _ := ret[0].(error)
   503  	return ret0
   504  }
   505  
   506  // ExportGenesis indicates an expected call of ExportGenesis.
   507  func (mr *MockCoreAppModuleMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call {
   508  	mr.mock.ctrl.T.Helper()
   509  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportGenesis", reflect.TypeOf((*MockCoreAppModule)(nil).ExportGenesis), arg0, arg1)
   510  }
   511  
   512  // InitGenesis mocks base method.
   513  func (m *MockCoreAppModule) InitGenesis(arg0 context.Context, arg1 appmodule.GenesisSource) error {
   514  	m.ctrl.T.Helper()
   515  	ret := m.ctrl.Call(m, "InitGenesis", arg0, arg1)
   516  	ret0, _ := ret[0].(error)
   517  	return ret0
   518  }
   519  
   520  // InitGenesis indicates an expected call of InitGenesis.
   521  func (mr *MockCoreAppModuleMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call {
   522  	mr.mock.ctrl.T.Helper()
   523  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitGenesis", reflect.TypeOf((*MockCoreAppModule)(nil).InitGenesis), arg0, arg1)
   524  }
   525  
   526  // IsAppModule mocks base method.
   527  func (m *MockCoreAppModule) IsAppModule() {
   528  	m.ctrl.T.Helper()
   529  	m.ctrl.Call(m, "IsAppModule")
   530  }
   531  
   532  // IsAppModule indicates an expected call of IsAppModule.
   533  func (mr *MockCoreAppModuleMockRecorder) IsAppModule() *gomock.Call {
   534  	mr.mock.ctrl.T.Helper()
   535  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAppModule", reflect.TypeOf((*MockCoreAppModule)(nil).IsAppModule))
   536  }
   537  
   538  // IsOnePerModuleType mocks base method.
   539  func (m *MockCoreAppModule) IsOnePerModuleType() {
   540  	m.ctrl.T.Helper()
   541  	m.ctrl.Call(m, "IsOnePerModuleType")
   542  }
   543  
   544  // IsOnePerModuleType indicates an expected call of IsOnePerModuleType.
   545  func (mr *MockCoreAppModuleMockRecorder) IsOnePerModuleType() *gomock.Call {
   546  	mr.mock.ctrl.T.Helper()
   547  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOnePerModuleType", reflect.TypeOf((*MockCoreAppModule)(nil).IsOnePerModuleType))
   548  }
   549  
   550  // Precommit mocks base method.
   551  func (m *MockCoreAppModule) Precommit(arg0 context.Context) error {
   552  	m.ctrl.T.Helper()
   553  	ret := m.ctrl.Call(m, "Precommit", arg0)
   554  	ret0, _ := ret[0].(error)
   555  	return ret0
   556  }
   557  
   558  // Precommit indicates an expected call of Precommit.
   559  func (mr *MockCoreAppModuleMockRecorder) Precommit(arg0 interface{}) *gomock.Call {
   560  	mr.mock.ctrl.T.Helper()
   561  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Precommit", reflect.TypeOf((*MockCoreAppModule)(nil).Precommit), arg0)
   562  }
   563  
   564  // PrepareCheckState mocks base method.
   565  func (m *MockCoreAppModule) PrepareCheckState(arg0 context.Context) error {
   566  	m.ctrl.T.Helper()
   567  	ret := m.ctrl.Call(m, "PrepareCheckState", arg0)
   568  	ret0, _ := ret[0].(error)
   569  	return ret0
   570  }
   571  
   572  // PrepareCheckState indicates an expected call of PrepareCheckState.
   573  func (mr *MockCoreAppModuleMockRecorder) PrepareCheckState(arg0 interface{}) *gomock.Call {
   574  	mr.mock.ctrl.T.Helper()
   575  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrepareCheckState", reflect.TypeOf((*MockCoreAppModule)(nil).PrepareCheckState), arg0)
   576  }
   577  
   578  // ValidateGenesis mocks base method.
   579  func (m *MockCoreAppModule) ValidateGenesis(arg0 appmodule.GenesisSource) error {
   580  	m.ctrl.T.Helper()
   581  	ret := m.ctrl.Call(m, "ValidateGenesis", arg0)
   582  	ret0, _ := ret[0].(error)
   583  	return ret0
   584  }
   585  
   586  // ValidateGenesis indicates an expected call of ValidateGenesis.
   587  func (mr *MockCoreAppModuleMockRecorder) ValidateGenesis(arg0 interface{}) *gomock.Call {
   588  	mr.mock.ctrl.T.Helper()
   589  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateGenesis", reflect.TypeOf((*MockCoreAppModule)(nil).ValidateGenesis), arg0)
   590  }
   591  
   592  // MockCoreAppModuleWithPreBlock is a mock of CoreAppModuleWithPreBlock interface.
   593  type MockCoreAppModuleWithPreBlock struct {
   594  	ctrl     *gomock.Controller
   595  	recorder *MockCoreAppModuleWithPreBlockMockRecorder
   596  }
   597  
   598  // MockCoreAppModuleWithPreBlockMockRecorder is the mock recorder for MockCoreAppModuleWithPreBlock.
   599  type MockCoreAppModuleWithPreBlockMockRecorder struct {
   600  	mock *MockCoreAppModuleWithPreBlock
   601  }
   602  
   603  // NewMockCoreAppModuleWithPreBlock creates a new mock instance.
   604  func NewMockCoreAppModuleWithPreBlock(ctrl *gomock.Controller) *MockCoreAppModuleWithPreBlock {
   605  	mock := &MockCoreAppModuleWithPreBlock{ctrl: ctrl}
   606  	mock.recorder = &MockCoreAppModuleWithPreBlockMockRecorder{mock}
   607  	return mock
   608  }
   609  
   610  // EXPECT returns an object that allows the caller to indicate expected use.
   611  func (m *MockCoreAppModuleWithPreBlock) EXPECT() *MockCoreAppModuleWithPreBlockMockRecorder {
   612  	return m.recorder
   613  }
   614  
   615  // BeginBlock mocks base method.
   616  func (m *MockCoreAppModuleWithPreBlock) BeginBlock(arg0 context.Context) error {
   617  	m.ctrl.T.Helper()
   618  	ret := m.ctrl.Call(m, "BeginBlock", arg0)
   619  	ret0, _ := ret[0].(error)
   620  	return ret0
   621  }
   622  
   623  // BeginBlock indicates an expected call of BeginBlock.
   624  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call {
   625  	mr.mock.ctrl.T.Helper()
   626  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeginBlock", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).BeginBlock), arg0)
   627  }
   628  
   629  // DefaultGenesis mocks base method.
   630  func (m *MockCoreAppModuleWithPreBlock) DefaultGenesis(arg0 appmodule.GenesisTarget) error {
   631  	m.ctrl.T.Helper()
   632  	ret := m.ctrl.Call(m, "DefaultGenesis", arg0)
   633  	ret0, _ := ret[0].(error)
   634  	return ret0
   635  }
   636  
   637  // DefaultGenesis indicates an expected call of DefaultGenesis.
   638  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call {
   639  	mr.mock.ctrl.T.Helper()
   640  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultGenesis", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).DefaultGenesis), arg0)
   641  }
   642  
   643  // EndBlock mocks base method.
   644  func (m *MockCoreAppModuleWithPreBlock) EndBlock(arg0 context.Context) error {
   645  	m.ctrl.T.Helper()
   646  	ret := m.ctrl.Call(m, "EndBlock", arg0)
   647  	ret0, _ := ret[0].(error)
   648  	return ret0
   649  }
   650  
   651  // EndBlock indicates an expected call of EndBlock.
   652  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) EndBlock(arg0 interface{}) *gomock.Call {
   653  	mr.mock.ctrl.T.Helper()
   654  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EndBlock", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).EndBlock), arg0)
   655  }
   656  
   657  // ExportGenesis mocks base method.
   658  func (m *MockCoreAppModuleWithPreBlock) ExportGenesis(arg0 context.Context, arg1 appmodule.GenesisTarget) error {
   659  	m.ctrl.T.Helper()
   660  	ret := m.ctrl.Call(m, "ExportGenesis", arg0, arg1)
   661  	ret0, _ := ret[0].(error)
   662  	return ret0
   663  }
   664  
   665  // ExportGenesis indicates an expected call of ExportGenesis.
   666  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call {
   667  	mr.mock.ctrl.T.Helper()
   668  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportGenesis", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).ExportGenesis), arg0, arg1)
   669  }
   670  
   671  // InitGenesis mocks base method.
   672  func (m *MockCoreAppModuleWithPreBlock) InitGenesis(arg0 context.Context, arg1 appmodule.GenesisSource) error {
   673  	m.ctrl.T.Helper()
   674  	ret := m.ctrl.Call(m, "InitGenesis", arg0, arg1)
   675  	ret0, _ := ret[0].(error)
   676  	return ret0
   677  }
   678  
   679  // InitGenesis indicates an expected call of InitGenesis.
   680  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call {
   681  	mr.mock.ctrl.T.Helper()
   682  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitGenesis", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).InitGenesis), arg0, arg1)
   683  }
   684  
   685  // IsAppModule mocks base method.
   686  func (m *MockCoreAppModuleWithPreBlock) IsAppModule() {
   687  	m.ctrl.T.Helper()
   688  	m.ctrl.Call(m, "IsAppModule")
   689  }
   690  
   691  // IsAppModule indicates an expected call of IsAppModule.
   692  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) IsAppModule() *gomock.Call {
   693  	mr.mock.ctrl.T.Helper()
   694  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAppModule", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).IsAppModule))
   695  }
   696  
   697  // IsOnePerModuleType mocks base method.
   698  func (m *MockCoreAppModuleWithPreBlock) IsOnePerModuleType() {
   699  	m.ctrl.T.Helper()
   700  	m.ctrl.Call(m, "IsOnePerModuleType")
   701  }
   702  
   703  // IsOnePerModuleType indicates an expected call of IsOnePerModuleType.
   704  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) IsOnePerModuleType() *gomock.Call {
   705  	mr.mock.ctrl.T.Helper()
   706  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOnePerModuleType", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).IsOnePerModuleType))
   707  }
   708  
   709  // PreBlock mocks base method.
   710  func (m *MockCoreAppModuleWithPreBlock) PreBlock(arg0 context.Context) (appmodule.ResponsePreBlock, error) {
   711  	m.ctrl.T.Helper()
   712  	ret := m.ctrl.Call(m, "PreBlock", arg0)
   713  	ret0, _ := ret[0].(appmodule.ResponsePreBlock)
   714  	ret1, _ := ret[1].(error)
   715  	return ret0, ret1
   716  }
   717  
   718  // PreBlock indicates an expected call of PreBlock.
   719  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) PreBlock(arg0 interface{}) *gomock.Call {
   720  	mr.mock.ctrl.T.Helper()
   721  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PreBlock", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).PreBlock), arg0)
   722  }
   723  
   724  // Precommit mocks base method.
   725  func (m *MockCoreAppModuleWithPreBlock) Precommit(arg0 context.Context) error {
   726  	m.ctrl.T.Helper()
   727  	ret := m.ctrl.Call(m, "Precommit", arg0)
   728  	ret0, _ := ret[0].(error)
   729  	return ret0
   730  }
   731  
   732  // Precommit indicates an expected call of Precommit.
   733  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) Precommit(arg0 interface{}) *gomock.Call {
   734  	mr.mock.ctrl.T.Helper()
   735  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Precommit", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).Precommit), arg0)
   736  }
   737  
   738  // PrepareCheckState mocks base method.
   739  func (m *MockCoreAppModuleWithPreBlock) PrepareCheckState(arg0 context.Context) error {
   740  	m.ctrl.T.Helper()
   741  	ret := m.ctrl.Call(m, "PrepareCheckState", arg0)
   742  	ret0, _ := ret[0].(error)
   743  	return ret0
   744  }
   745  
   746  // PrepareCheckState indicates an expected call of PrepareCheckState.
   747  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) PrepareCheckState(arg0 interface{}) *gomock.Call {
   748  	mr.mock.ctrl.T.Helper()
   749  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrepareCheckState", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).PrepareCheckState), arg0)
   750  }
   751  
   752  // ValidateGenesis mocks base method.
   753  func (m *MockCoreAppModuleWithPreBlock) ValidateGenesis(arg0 appmodule.GenesisSource) error {
   754  	m.ctrl.T.Helper()
   755  	ret := m.ctrl.Call(m, "ValidateGenesis", arg0)
   756  	ret0, _ := ret[0].(error)
   757  	return ret0
   758  }
   759  
   760  // ValidateGenesis indicates an expected call of ValidateGenesis.
   761  func (mr *MockCoreAppModuleWithPreBlockMockRecorder) ValidateGenesis(arg0 interface{}) *gomock.Call {
   762  	mr.mock.ctrl.T.Helper()
   763  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateGenesis", reflect.TypeOf((*MockCoreAppModuleWithPreBlock)(nil).ValidateGenesis), arg0)
   764  }