-
Notifications
You must be signed in to change notification settings - Fork 199
/
statusHandlerMock.go
39 lines (30 loc) · 981 Bytes
/
statusHandlerMock.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
package mock
// AppStatusHandlerMock is an empty implementation of AppStatusHandler in order to be used in constructors
type AppStatusHandlerMock struct {
}
func (ashs *AppStatusHandlerMock) IsInterfaceNil() bool {
if ashs == nil {
return true
}
return false
}
func (ashs *AppStatusHandlerMock) AddUint64(key string, value uint64) {
}
// Increment method won't do anything
func (ashs *AppStatusHandlerMock) Increment(key string) {
}
// Decrement method won't do anything
func (ashs *AppStatusHandlerMock) Decrement(key string) {
}
// SetInt64Value method won't do anything
func (ashs *AppStatusHandlerMock) SetInt64Value(key string, value int64) {
}
// SetUInt64Value method won't do anything
func (ashs *AppStatusHandlerMock) SetUInt64Value(key string, value uint64) {
}
// SetStringValue method won't do anything
func (ashs *AppStatusHandlerMock) SetStringValue(key string, value string) {
}
// Close won't do anything
func (ashs *AppStatusHandlerMock) Close() {
}