12345678910111213141516171819 |
- package sarama
- import "testing"
- var (
- basicLeaveGroupRequest = []byte{
- 0, 3, 'f', 'o', 'o',
- 0, 3, 'b', 'a', 'r',
- }
- )
- func TestLeaveGroupRequest(t *testing.T) {
- var request *LeaveGroupRequest
- request = new(LeaveGroupRequest)
- request.GroupID = "foo"
- request.MemberID = "bar"
- testRequest(t, "basic", request, basicLeaveGroupRequest)
- }
|