code: func NewMockPacketEncoder(ctrl *gomock.Controller) *MockPacketEncoder {
  	mock := &MockPacketEncoder{ctrl: ctrl}
  	mock.recorder = &MockPacketEncoderMockRecorder{mock}
  	return mock
  }
docs: // NewMockPacketEncoder creates a new mock instance