func (_m *MetadataServiceListConsumerGroupsInCall) Write(arg *shared.ConsumerGroupDescription) error {
	ret := _m.Called(arg)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.ConsumerGroupDescription) error); ok {
		r0 = rf(arg)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
Write provides a mock function with given fields: arg
package metadata
import "github.com/uber/cherami-thrift/.generated/go/shared"
import "github.com/stretchr/testify/mock"
type MetadataServiceListConsumerGroupsInCall struct {
	mock.Mock
}
func (_m *MetadataServiceListConsumerGroupsInCall) Done() error {
	ret := _m.Called()
	var r0 error
	if rf, ok := ret.Get(0).(func() error); ok {
		r0 = rf()
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataServiceListConsumerGroupsInCall) Flush() error {
	ret := _m.Called()
	var r0 error
	if rf, ok := ret.Get(0).(func() error); ok {
		r0 = rf()
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataServiceListConsumerGroupsInCall) SetResponseHeaders(headers map[string]string) error {
	ret := _m.Called(headers)
	var r0 error
	if rf, ok := ret.Get(0).(func(map[string]string) error); ok {
		r0 = rf(headers)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}