The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/internal/utils/mock_log/handler.go

49 lines
1.3 KiB

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ethereum/go-ethereum/log (interfaces: Handler)
// Package mock_log is a generated GoMock package.
package mock_log
import (
log "github.com/ethereum/go-ethereum/log"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockHandler is a mock of Handler interface
type MockHandler struct {
ctrl *gomock.Controller
recorder *MockHandlerMockRecorder
}
// MockHandlerMockRecorder is the mock recorder for MockHandler
type MockHandlerMockRecorder struct {
mock *MockHandler
}
// NewMockHandler creates a new mock instance
func NewMockHandler(ctrl *gomock.Controller) *MockHandler {
mock := &MockHandler{ctrl: ctrl}
mock.recorder = &MockHandlerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder {
return m.recorder
}
// Log mocks base method
func (m *MockHandler) Log(arg0 *log.Record) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Log", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// Log indicates an expected call of Log
func (mr *MockHandlerMockRecorder) Log(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Log", reflect.TypeOf((*MockHandler)(nil).Log), arg0)
}