github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/mocks/blockchainmocks/callbacks.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package blockchainmocks
     4  
     5  import (
     6  	blockchain "github.com/kaleido-io/firefly/pkg/blockchain"
     7  	fftypes "github.com/kaleido-io/firefly/pkg/fftypes"
     8  
     9  	mock "github.com/stretchr/testify/mock"
    10  )
    11  
    12  // Callbacks is an autogenerated mock type for the Callbacks type
    13  type Callbacks struct {
    14  	mock.Mock
    15  }
    16  
    17  // BatchPinComplete provides a mock function with given fields: batch, signingIdentity, protocolTxID, additionalInfo
    18  func (_m *Callbacks) BatchPinComplete(batch *blockchain.BatchPin, signingIdentity string, protocolTxID string, additionalInfo fftypes.JSONObject) error {
    19  	ret := _m.Called(batch, signingIdentity, protocolTxID, additionalInfo)
    20  
    21  	var r0 error
    22  	if rf, ok := ret.Get(0).(func(*blockchain.BatchPin, string, string, fftypes.JSONObject) error); ok {
    23  		r0 = rf(batch, signingIdentity, protocolTxID, additionalInfo)
    24  	} else {
    25  		r0 = ret.Error(0)
    26  	}
    27  
    28  	return r0
    29  }
    30  
    31  // TxSubmissionUpdate provides a mock function with given fields: txTrackingID, txState, protocolTxID, errorMessage, additionalInfo
    32  func (_m *Callbacks) TxSubmissionUpdate(txTrackingID string, txState fftypes.OpStatus, protocolTxID string, errorMessage string, additionalInfo fftypes.JSONObject) error {
    33  	ret := _m.Called(txTrackingID, txState, protocolTxID, errorMessage, additionalInfo)
    34  
    35  	var r0 error
    36  	if rf, ok := ret.Get(0).(func(string, fftypes.OpStatus, string, string, fftypes.JSONObject) error); ok {
    37  		r0 = rf(txTrackingID, txState, protocolTxID, errorMessage, additionalInfo)
    38  	} else {
    39  		r0 = ret.Error(0)
    40  	}
    41  
    42  	return r0
    43  }