github.com/0chain/gosdk@v1.17.11/zcncore/mocks/FeeOption.go (about)

     1  // Code generated by mockery v2.28.1. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import (
     6  	zcncore "github.com/0chain/gosdk/zcncore"
     7  	mock "github.com/stretchr/testify/mock"
     8  )
     9  
    10  // FeeOption is an autogenerated mock type for the FeeOption type
    11  type FeeOption struct {
    12  	mock.Mock
    13  }
    14  
    15  // Execute provides a mock function with given fields: _a0
    16  func (_m *FeeOption) Execute(_a0 *zcncore.TxnFeeOption) {
    17  	_m.Called(_a0)
    18  }
    19  
    20  type mockConstructorTestingTNewFeeOption interface {
    21  	mock.TestingT
    22  	Cleanup(func())
    23  }
    24  
    25  // NewFeeOption creates a new instance of FeeOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    26  func NewFeeOption(t mockConstructorTestingTNewFeeOption) *FeeOption {
    27  	mock := &FeeOption{}
    28  	mock.Mock.Test(t)
    29  
    30  	t.Cleanup(func() { mock.AssertExpectations(t) })
    31  
    32  	return mock
    33  }