forked from Scalingo/go-scalingo
/
gomock_notificationplatformsservice.go
60 lines (50 loc) · 2.6 KB
/
gomock_notificationplatformsservice.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
59
60
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/Scalingo/go-scalingo (interfaces: NotificationPlatformsService)
// Package scalingomock is a generated GoMock package.
package scalingomock
import (
go_scalingo "github.com/Scalingo/go-scalingo"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockNotificationPlatformsService is a mock of NotificationPlatformsService interface
type MockNotificationPlatformsService struct {
ctrl *gomock.Controller
recorder *MockNotificationPlatformsServiceMockRecorder
}
// MockNotificationPlatformsServiceMockRecorder is the mock recorder for MockNotificationPlatformsService
type MockNotificationPlatformsServiceMockRecorder struct {
mock *MockNotificationPlatformsService
}
// NewMockNotificationPlatformsService creates a new mock instance
func NewMockNotificationPlatformsService(ctrl *gomock.Controller) *MockNotificationPlatformsService {
mock := &MockNotificationPlatformsService{ctrl: ctrl}
mock.recorder = &MockNotificationPlatformsServiceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockNotificationPlatformsService) EXPECT() *MockNotificationPlatformsServiceMockRecorder {
return m.recorder
}
// NotificationPlatformByName mocks base method
func (m *MockNotificationPlatformsService) NotificationPlatformByName(arg0 string) ([]*go_scalingo.NotificationPlatform, error) {
ret := m.ctrl.Call(m, "NotificationPlatformByName", arg0)
ret0, _ := ret[0].([]*go_scalingo.NotificationPlatform)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NotificationPlatformByName indicates an expected call of NotificationPlatformByName
func (mr *MockNotificationPlatformsServiceMockRecorder) NotificationPlatformByName(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationPlatformByName", reflect.TypeOf((*MockNotificationPlatformsService)(nil).NotificationPlatformByName), arg0)
}
// NotificationPlatformsList mocks base method
func (m *MockNotificationPlatformsService) NotificationPlatformsList() ([]*go_scalingo.NotificationPlatform, error) {
ret := m.ctrl.Call(m, "NotificationPlatformsList")
ret0, _ := ret[0].([]*go_scalingo.NotificationPlatform)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// NotificationPlatformsList indicates an expected call of NotificationPlatformsList
func (mr *MockNotificationPlatformsServiceMockRecorder) NotificationPlatformsList() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationPlatformsList", reflect.TypeOf((*MockNotificationPlatformsService)(nil).NotificationPlatformsList))
}