forked from CyCoreSystems/ari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sound.go
57 lines (46 loc) · 1.25 KB
/
Sound.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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package arimocks
import ari "github.com/CyCoreSystems/ari"
import mock "github.com/stretchr/testify/mock"
// Sound is an autogenerated mock type for the Sound type
type Sound struct {
mock.Mock
}
// Data provides a mock function with given fields: key
func (_m *Sound) Data(key *ari.Key) (*ari.SoundData, error) {
ret := _m.Called(key)
var r0 *ari.SoundData
if rf, ok := ret.Get(0).(func(*ari.Key) *ari.SoundData); ok {
r0 = rf(key)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*ari.SoundData)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(*ari.Key) error); ok {
r1 = rf(key)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// List provides a mock function with given fields: filters, keyFilter
func (_m *Sound) List(filters map[string]string, keyFilter *ari.Key) ([]*ari.Key, error) {
ret := _m.Called(filters, keyFilter)
var r0 []*ari.Key
if rf, ok := ret.Get(0).(func(map[string]string, *ari.Key) []*ari.Key); ok {
r0 = rf(filters, keyFilter)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]*ari.Key)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(map[string]string, *ari.Key) error); ok {
r1 = rf(filters, keyFilter)
} else {
r1 = ret.Error(1)
}
return r0, r1
}