forked from opencontrol/compliance-masonry
/
Certification.go
57 lines (45 loc) · 1.19 KB
/
Certification.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
package mocks
import common "github.com/opencontrol/compliance-masonry/lib/common"
import mock "github.com/stretchr/testify/mock"
// Certification is an autogenerated mock type for the Certification type
type Certification struct {
mock.Mock
}
// GetControlKeysFor provides a mock function with given fields: standardKey
func (_m *Certification) GetControlKeysFor(standardKey string) []string {
ret := _m.Called(standardKey)
var r0 []string
if rf, ok := ret.Get(0).(func(string) []string); ok {
r0 = rf(standardKey)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]string)
}
}
return r0
}
// GetKey provides a mock function with given fields:
func (_m *Certification) GetKey() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// GetSortedStandards provides a mock function with given fields:
func (_m *Certification) GetSortedStandards() []string {
ret := _m.Called()
var r0 []string
if rf, ok := ret.Get(0).(func() []string); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]string)
}
}
return r0
}
var _ common.Certification = (*Certification)(nil)