mock_tracker als needs NickByHostmask method

This commit is contained in:
Jouke Hofman 2017-10-20 13:42:59 +02:00
parent c86f5d58eb
commit 3f52f121db
1 changed files with 10 additions and 0 deletions

View File

@ -48,6 +48,16 @@ func (_mr *_MockTrackerRecorder) GetNick(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "GetNick", arg0) 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 { func (_m *MockTracker) ReNick(old string, neu string) *Nick {
ret := _m.ctrl.Call(_m, "ReNick", old, neu) ret := _m.ctrl.Call(_m, "ReNick", old, neu)
ret0, _ := ret[0].(*Nick) ret0, _ := ret[0].(*Nick)