-
Notifications
You must be signed in to change notification settings - Fork 1
/
mock_AttachmentInterface.go
120 lines (96 loc) · 2.59 KB
/
mock_AttachmentInterface.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// Code generated by mockery v2.3.0. DO NOT EDIT.
package vslack
import mock "github.com/stretchr/testify/mock"
// MockAttachmentInterface is an autogenerated mock type for the AttachmentInterface type
type MockAttachmentInterface struct {
mock.Mock
}
// SetColor provides a mock function with given fields: c
func (_m *MockAttachmentInterface) SetColor(c string) Attachment {
ret := _m.Called(c)
var r0 Attachment
if rf, ok := ret.Get(0).(func(string) Attachment); ok {
r0 = rf(c)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetFields provides a mock function with given fields: f
func (_m *MockAttachmentInterface) SetFields(f ...Field) Attachment {
_va := make([]interface{}, len(f))
for _i := range f {
_va[_i] = f[_i]
}
var _ca []interface{}
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 Attachment
if rf, ok := ret.Get(0).(func(...Field) Attachment); ok {
r0 = rf(f...)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetMarkdown provides a mock function with given fields: m
func (_m *MockAttachmentInterface) SetMarkdown(m bool) Attachment {
ret := _m.Called(m)
var r0 Attachment
if rf, ok := ret.Get(0).(func(bool) Attachment); ok {
r0 = rf(m)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetMarkdownIn provides a mock function with given fields: opts
func (_m *MockAttachmentInterface) SetMarkdownIn(opts ...MarkdownOption) Attachment {
_va := make([]interface{}, len(opts))
for _i := range opts {
_va[_i] = opts[_i]
}
var _ca []interface{}
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 Attachment
if rf, ok := ret.Get(0).(func(...MarkdownOption) Attachment); ok {
r0 = rf(opts...)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetText provides a mock function with given fields: t
func (_m *MockAttachmentInterface) SetText(t string) Attachment {
ret := _m.Called(t)
var r0 Attachment
if rf, ok := ret.Get(0).(func(string) Attachment); ok {
r0 = rf(t)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetTitle provides a mock function with given fields: t
func (_m *MockAttachmentInterface) SetTitle(t string) Attachment {
ret := _m.Called(t)
var r0 Attachment
if rf, ok := ret.Get(0).(func(string) Attachment); ok {
r0 = rf(t)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}
// SetTitleLink provides a mock function with given fields: l
func (_m *MockAttachmentInterface) SetTitleLink(l string) Attachment {
ret := _m.Called(l)
var r0 Attachment
if rf, ok := ret.Get(0).(func(string) Attachment); ok {
r0 = rf(l)
} else {
r0 = ret.Get(0).(Attachment)
}
return r0
}