mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAggregateRepository

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

MockAggregateRepository is a mock of AggregateRepository interface.

func NewMockAggregateRepository

func NewMockAggregateRepository(ctrl *gomock.Controller) *MockAggregateRepository

NewMockAggregateRepository creates a new mock instance.

func (*MockAggregateRepository) AddTable

func (m *MockAggregateRepository) AddTable(table dto.PragmaticTable)

AddTable mocks base method.

func (*MockAggregateRepository) EXPECT

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

func (*MockAggregateRepository) ListTables

ListTables mocks base method.

type MockAggregateRepositoryMockRecorder

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

MockAggregateRepositoryMockRecorder is the mock recorder for MockAggregateRepository.

func (*MockAggregateRepositoryMockRecorder) AddTable

func (mr *MockAggregateRepositoryMockRecorder) AddTable(table interface{}) *gomock.Call

AddTable indicates an expected call of AddTable.

func (*MockAggregateRepositoryMockRecorder) ListTables

ListTables indicates an expected call of ListTables.

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) AddTable

func (m *MockRepository) AddTable(table dto.PragmaticTable)

AddTable mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) ListTables

func (m *MockRepository) ListTables() ([]dto.PragmaticTableWithID, error)

ListTables mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) AddTable

func (mr *MockRepositoryMockRecorder) AddTable(table interface{}) *gomock.Call

AddTable indicates an expected call of AddTable.

func (*MockRepositoryMockRecorder) ListTables

func (mr *MockRepositoryMockRecorder) ListTables() *gomock.Call

ListTables indicates an expected call of ListTables.

Jump to

Keyboard shortcuts

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