// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/flowy-live/llink/genproto/aero (interfaces: PrimaryClient)
//
// Generated by this command:
//
//	mockgen -destination ./mock_aero.go -package aero github.com/flowy-live/llink/genproto/aero PrimaryClient
//

// Package aero is a generated GoMock package.
package aero

import (
	context "context"
	reflect "reflect"

	pbaero "github.com/flowy-live/llink/genproto/aero"
	gomock "go.uber.org/mock/gomock"
	grpc "google.golang.org/grpc"
)

// MockPrimaryClient is a mock of PrimaryClient interface.
type MockPrimaryClient struct {
	ctrl     *gomock.Controller
	recorder *MockPrimaryClientMockRecorder
	isgomock struct{}
}

// MockPrimaryClientMockRecorder is the mock recorder for MockPrimaryClient.
type MockPrimaryClientMockRecorder struct {
	mock *MockPrimaryClient
}

// NewMockPrimaryClient creates a new mock instance.
func NewMockPrimaryClient(ctrl *gomock.Controller) *MockPrimaryClient {
	mock := &MockPrimaryClient{ctrl: ctrl}
	mock.recorder = &MockPrimaryClientMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockPrimaryClient) EXPECT() *MockPrimaryClientMockRecorder {
	return m.recorder
}

// ShootEmail mocks base method.
func (m *MockPrimaryClient) ShootEmail(ctx context.Context, in *pbaero.ShootEmailRequest, opts ...grpc.CallOption) (*pbaero.ShootEmailResponse, error) {
	m.ctrl.T.Helper()
	varargs := []any{ctx, in}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "ShootEmail", varargs...)
	ret0, _ := ret[0].(*pbaero.ShootEmailResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ShootEmail indicates an expected call of ShootEmail.
func (mr *MockPrimaryClientMockRecorder) ShootEmail(ctx, in any, opts ...any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]any{ctx, in}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShootEmail", reflect.TypeOf((*MockPrimaryClient)(nil).ShootEmail), varargs...)
}
