1// Code generated by MockGen. DO NOT EDIT. 2// Source: github.com/golang/mock/mockgen/internal/tests/extra_import (interfaces: Foo) 3 4// Package extra_import is a generated GoMock package. 5package extra_import 6 7import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11) 12 13// MockFoo is a mock of Foo interface. 14type MockFoo struct { 15 ctrl *gomock.Controller 16 recorder *MockFooMockRecorder 17} 18 19// MockFooMockRecorder is the mock recorder for MockFoo. 20type MockFooMockRecorder struct { 21 mock *MockFoo 22} 23 24// NewMockFoo creates a new mock instance. 25func NewMockFoo(ctrl *gomock.Controller) *MockFoo { 26 mock := &MockFoo{ctrl: ctrl} 27 mock.recorder = &MockFooMockRecorder{mock} 28 return mock 29} 30 31// EXPECT returns an object that allows the caller to indicate expected use. 32func (m *MockFoo) EXPECT() *MockFooMockRecorder { 33 return m.recorder 34} 35 36// Bar mocks base method. 37func (m *MockFoo) Bar(arg0 []string, arg1 chan<- Message) { 38 m.ctrl.T.Helper() 39 m.ctrl.Call(m, "Bar", arg0, arg1) 40} 41 42// Bar indicates an expected call of Bar. 43func (mr *MockFooMockRecorder) Bar(arg0, arg1 interface{}) *gomock.Call { 44 mr.mock.ctrl.T.Helper() 45 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockFoo)(nil).Bar), arg0, arg1) 46} 47