From 3f52f121db10cc37c312e97756ba1b64a87f9a37 Mon Sep 17 00:00:00 2001 From: Jouke Hofman Date: Fri, 20 Oct 2017 13:42:59 +0200 Subject: [PATCH] mock_tracker als needs NickByHostmask method --- state/mock_tracker.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/state/mock_tracker.go b/state/mock_tracker.go index aa594c4..335deca 100644 --- a/state/mock_tracker.go +++ b/state/mock_tracker.go @@ -48,6 +48,16 @@ func (_mr *_MockTrackerRecorder) GetNick(arg0 interface{}) *gomock.Call { return _mr.mock.ctrl.RecordCall(_mr.mock, "GetNick", arg0) } +func (_m *MockTracker) GetNickByHostmask(host string) *Nick { + ret := _m.ctrl.Call(_m, "GetNickByHostmask", host) + ret0, _ := ret[0].(*Nick) + return ret0 +} + +func (_mr *_MockTrackerRecorder) GetNickByHostmask(arg0 interface{}) *gomock.Call { + return _mr.mock.ctrl.RecordCall(_mr.mock, "GetNickByHostmask", arg0) +} + func (_m *MockTracker) ReNick(old string, neu string) *Nick { ret := _m.ctrl.Call(_m, "ReNick", old, neu) ret0, _ := ret[0].(*Nick)