code: func (m *MockEncoder) Encode(message *message.Message) ([]byte, error) {
  	ret := m.ctrl.Call(m, "Encode", message)
  	ret0, _ := ret[0].([]byte)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // Encode mocks base method