This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
/
analytics.go
50 lines (42 loc) · 1.47 KB
/
analytics.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
// Code generated by MockGen. DO NOT EDIT.
// Source: code.cloudfoundry.org/cfdev/cmd/stop (interfaces: Analytics)
// Package mocks is a generated GoMock package.
package mocks
import (
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockAnalytics is a mock of Analytics interface
type MockAnalytics struct {
ctrl *gomock.Controller
recorder *MockAnalyticsMockRecorder
}
// MockAnalyticsMockRecorder is the mock recorder for MockAnalytics
type MockAnalyticsMockRecorder struct {
mock *MockAnalytics
}
// NewMockAnalytics creates a new mock instance
func NewMockAnalytics(ctrl *gomock.Controller) *MockAnalytics {
mock := &MockAnalytics{ctrl: ctrl}
mock.recorder = &MockAnalyticsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockAnalytics) EXPECT() *MockAnalyticsMockRecorder {
return m.recorder
}
// Event mocks base method
func (m *MockAnalytics) Event(arg0 string, arg1 ...map[string]interface{}) error {
varargs := []interface{}{arg0}
for _, a := range arg1 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "Event", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// Event indicates an expected call of Event
func (mr *MockAnalyticsMockRecorder) Event(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
varargs := append([]interface{}{arg0}, arg1...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Event", reflect.TypeOf((*MockAnalytics)(nil).Event), varargs...)
}