-
Notifications
You must be signed in to change notification settings - Fork 6
/
attributes_test.go
43 lines (36 loc) · 1.24 KB
/
attributes_test.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
package mocksqs_test
import (
"github.com/elliotchance/mocksqs"
"github.com/stretchr/testify/assert"
"testing"
)
func TestSQS_GetQueueAttributes(t *testing.T) {
assert.PanicsWithValue(t, "GetQueueAttributes is not implemented", func() {
mocksqs.New().GetQueueAttributes(nil)
})
}
func TestSQS_GetQueueAttributesWithContext(t *testing.T) {
assert.PanicsWithValue(t, "GetQueueAttributesWithContext is not implemented", func() {
mocksqs.New().GetQueueAttributesWithContext(nil, nil)
})
}
func TestSQS_GetQueueAttributesRequest(t *testing.T) {
assert.PanicsWithValue(t, "GetQueueAttributesRequest is not implemented", func() {
mocksqs.New().GetQueueAttributesRequest(nil)
})
}
func TestSQS_SetQueueAttributes(t *testing.T) {
assert.PanicsWithValue(t, "SetQueueAttributes is not implemented", func() {
mocksqs.New().SetQueueAttributes(nil)
})
}
func TestSQS_SetQueueAttributesWithContext(t *testing.T) {
assert.PanicsWithValue(t, "SetQueueAttributesWithContext is not implemented", func() {
mocksqs.New().SetQueueAttributesWithContext(nil, nil)
})
}
func TestSQS_SetQueueAttributesRequest(t *testing.T) {
assert.PanicsWithValue(t, "SetQueueAttributesRequest is not implemented", func() {
mocksqs.New().SetQueueAttributesRequest(nil)
})
}