-
Notifications
You must be signed in to change notification settings - Fork 292
/
announcer_mock.go
58 lines (47 loc) · 1.52 KB
/
announcer_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by MockGen. DO NOT EDIT.
// Source: announcer.go
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockAnnouncer is a mock of Announcer interface.
type MockAnnouncer struct {
ctrl *gomock.Controller
recorder *MockAnnouncerMockRecorder
}
// MockAnnouncerMockRecorder is the mock recorder for MockAnnouncer.
type MockAnnouncerMockRecorder struct {
mock *MockAnnouncer
}
// NewMockAnnouncer creates a new mock instance.
func NewMockAnnouncer(ctrl *gomock.Controller) *MockAnnouncer {
mock := &MockAnnouncer{ctrl: ctrl}
mock.recorder = &MockAnnouncerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockAnnouncer) EXPECT() *MockAnnouncerMockRecorder {
return m.recorder
}
// Serve mocks base method.
func (m *MockAnnouncer) Serve() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Serve")
}
// Serve indicates an expected call of Serve.
func (mr *MockAnnouncerMockRecorder) Serve() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Serve", reflect.TypeOf((*MockAnnouncer)(nil).Serve))
}
// Stop mocks base method.
func (m *MockAnnouncer) Stop() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Stop")
}
// Stop indicates an expected call of Stop.
func (mr *MockAnnouncerMockRecorder) Stop() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockAnnouncer)(nil).Stop))
}