Documentation ¶
Overview ¶
Package mock_chain is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockListener ¶
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface
func NewMockListener ¶
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance
func (*MockListener) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockListener) SetContracts ¶
func (m *MockListener) SetContracts(bridge listener.IBridge, erc20Handler listener.IERC20Handler, erc721Handler listener.IERC721Handler, genericHandler listener.IGenericHandler)
SetContracts mocks base method
func (*MockListener) StartPollingBlocks ¶
func (m *MockListener) StartPollingBlocks() error
StartPollingBlocks mocks base method
type MockListenerMockRecorder ¶
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener
func (*MockListenerMockRecorder) SetContracts ¶
func (mr *MockListenerMockRecorder) SetContracts(bridge, erc20Handler, erc721Handler, genericHandler interface{}) *gomock.Call
SetContracts indicates an expected call of SetContracts
func (*MockListenerMockRecorder) StartPollingBlocks ¶
func (mr *MockListenerMockRecorder) StartPollingBlocks() *gomock.Call
StartPollingBlocks indicates an expected call of StartPollingBlocks
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWriter) SetBridge ¶
func (m *MockWriter) SetBridge(bridge writer.Bridger)
SetBridge mocks base method
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter
func (*MockWriterMockRecorder) SetBridge ¶
func (mr *MockWriterMockRecorder) SetBridge(bridge interface{}) *gomock.Call
SetBridge indicates an expected call of SetBridge