code: func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher {
  	mock := &MockPublisher{ctrl: ctrl}
  	mock.recorder = &MockPublisherMockRecorder{mock}
  	return mock
  }
docs: // NewMockPublisher creates a new mock instance