github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/mocks/dataexchangemocks/callbacks.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package dataexchangemocks 4 5 import ( 6 fftypes "github.com/kaleido-io/firefly/pkg/fftypes" 7 mock "github.com/stretchr/testify/mock" 8 ) 9 10 // Callbacks is an autogenerated mock type for the Callbacks type 11 type Callbacks struct { 12 mock.Mock 13 } 14 15 // BLOBReceived provides a mock function with given fields: peerID, ns, id 16 func (_m *Callbacks) BLOBReceived(peerID string, ns string, id fftypes.UUID) { 17 _m.Called(peerID, ns, id) 18 } 19 20 // MessageReceived provides a mock function with given fields: peerID, data 21 func (_m *Callbacks) MessageReceived(peerID string, data []byte) { 22 _m.Called(peerID, data) 23 } 24 25 // TransferResult provides a mock function with given fields: trackingID, status, info, additionalInfo 26 func (_m *Callbacks) TransferResult(trackingID string, status fftypes.OpStatus, info string, additionalInfo fftypes.JSONObject) { 27 _m.Called(trackingID, status, info, additionalInfo) 28 }