mock_repository

package
v0.0.0-...-7f10d31 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSampleRepository

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

MockSampleRepository is a mock of SampleRepository interface.

func NewMockSampleRepository

func NewMockSampleRepository(ctrl *gomock.Controller) *MockSampleRepository

NewMockSampleRepository creates a new mock instance.

func (*MockSampleRepository) Create

func (m *MockSampleRepository) Create(data string) (*entity.SampleEntity, error)

Create mocks base method.

func (*MockSampleRepository) EXPECT

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

func (*MockSampleRepository) GetById

GetById mocks base method.

func (*MockSampleRepository) List

List mocks base method.

type MockSampleRepositoryMockRecorder

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

MockSampleRepositoryMockRecorder is the mock recorder for MockSampleRepository.

func (*MockSampleRepositoryMockRecorder) Create

func (mr *MockSampleRepositoryMockRecorder) Create(data interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockSampleRepositoryMockRecorder) GetById

func (mr *MockSampleRepositoryMockRecorder) GetById(id interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockSampleRepositoryMockRecorder) List

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