mocks

package
v0.0.0-...-2e0bdef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

type MockRepository struct {
	// contains filtered or unexported fields
}

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRepository) FindOneSubscriberByEmail

func (m *MockRepository) FindOneSubscriberByEmail(arg0 context.Context, arg1 string) (*entity.Subscriber, error)

FindOneSubscriberByEmail mocks base method.

func (*MockRepository) FindOneSubscriberByID

func (m *MockRepository) FindOneSubscriberByID(arg0 context.Context, arg1 string) (*entity.Subscriber, error)

FindOneSubscriberByID mocks base method.

func (*MockRepository) SaveSubscriber

func (m *MockRepository) SaveSubscriber(arg0 context.Context, arg1 *entity.Subscriber) error

SaveSubscriber mocks base method.

type MockRepositoryMockRecorder

type MockRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) FindOneSubscriberByEmail

func (mr *MockRepositoryMockRecorder) FindOneSubscriberByEmail(arg0, arg1 any) *gomock.Call

FindOneSubscriberByEmail indicates an expected call of FindOneSubscriberByEmail.

func (*MockRepositoryMockRecorder) FindOneSubscriberByID

func (mr *MockRepositoryMockRecorder) FindOneSubscriberByID(arg0, arg1 any) *gomock.Call

FindOneSubscriberByID indicates an expected call of FindOneSubscriberByID.

func (*MockRepositoryMockRecorder) SaveSubscriber

func (mr *MockRepositoryMockRecorder) SaveSubscriber(arg0, arg1 any) *gomock.Call

SaveSubscriber indicates an expected call of SaveSubscriber.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL