mock_church

package
v0.0.0-...-5863de9 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_church is a generated GoMock package.

Package mock_church 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) GetByID

func (m *MockRepository) GetByID(ID string) (*domain.Church, error)

GetByID mocks base method.

func (*MockRepository) List

func (m *MockRepository) List() ([]*domain.Church, error)

List mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) GetByID

func (mr *MockRepositoryMockRecorder) GetByID(ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockRepositoryMockRecorder) List

List indicates an expected call of List.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetChurch

func (m *MockService) GetChurch(id string) (*domain.Church, error)

GetChurch mocks base method.

func (*MockService) List

func (m *MockService) List() ([]*domain.Church, error)

List mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) GetChurch

func (mr *MockServiceMockRecorder) GetChurch(id any) *gomock.Call

GetChurch indicates an expected call of GetChurch.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List() *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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