forked from CyCoreSystems/ari
/
TextMessage.go
38 lines (29 loc) · 1.06 KB
/
TextMessage.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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package arimocks
import mock "github.com/stretchr/testify/mock"
// TextMessage is an autogenerated mock type for the TextMessage type
type TextMessage struct {
mock.Mock
}
// Send provides a mock function with given fields: from, tech, resource, body, vars
func (_m *TextMessage) Send(from string, tech string, resource string, body string, vars map[string]string) error {
ret := _m.Called(from, tech, resource, body, vars)
var r0 error
if rf, ok := ret.Get(0).(func(string, string, string, string, map[string]string) error); ok {
r0 = rf(from, tech, resource, body, vars)
} else {
r0 = ret.Error(0)
}
return r0
}
// SendByURI provides a mock function with given fields: from, to, body, vars
func (_m *TextMessage) SendByURI(from string, to string, body string, vars map[string]string) error {
ret := _m.Called(from, to, body, vars)
var r0 error
if rf, ok := ret.Get(0).(func(string, string, string, map[string]string) error); ok {
r0 = rf(from, to, body, vars)
} else {
r0 = ret.Error(0)
}
return r0
}