MCPcopy
hub / github.com/segmentio/kafka-go / TestCreateACLsResponse

Function TestCreateACLsResponse

protocol/createacls/createacls_test.go:74–115  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

72}
73
74func TestCreateACLsResponse(t *testing.T) {
75 prototest.TestResponse(t, v0, &createacls.Response{
76 ThrottleTimeMs: 1,
77 Results: []createacls.ResponseACLs{
78 {
79 ErrorCode: 1,
80 ErrorMessage: "foo",
81 },
82 },
83 })
84
85 prototest.TestResponse(t, v1, &createacls.Response{
86 ThrottleTimeMs: 1,
87 Results: []createacls.ResponseACLs{
88 {
89 ErrorCode: 1,
90 ErrorMessage: "foo",
91 },
92 },
93 })
94
95 prototest.TestResponse(t, v2, &createacls.Response{
96 ThrottleTimeMs: 1,
97 Results: []createacls.ResponseACLs{
98 {
99 ErrorCode: 1,
100 ErrorMessage: "foo",
101 },
102 },
103 })
104
105 prototest.TestResponse(t, v3, &createacls.Response{
106 ThrottleTimeMs: 1,
107 Results: []createacls.ResponseACLs{
108 {
109 ErrorCode: 1,
110 ErrorMessage: "foo",
111 },
112 },
113 })
114
115}

Callers

nothing calls this directly

Calls 1

TestResponseFunction · 0.92

Tested by

no test coverage detected