mock_port

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_port is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockImageRepository

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

MockImageRepository is a mock of ImageRepository interface

func NewMockImageRepository

func NewMockImageRepository(ctrl *gomock.Controller) *MockImageRepository

NewMockImageRepository creates a new mock instance

func (*MockImageRepository) EXPECT

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

func (*MockImageRepository) Find

func (m *MockImageRepository) Find(ctx context.Context, name string, format domain.ImageFormat, isThumbnail bool) (*domain.Image, error)

Find mocks base method

func (*MockImageRepository) Save

func (m *MockImageRepository) Save(arg0 context.Context, arg1 *domain.Image) error

Save mocks base method

type MockImageRepositoryMockRecorder

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

MockImageRepositoryMockRecorder is the mock recorder for MockImageRepository

func (*MockImageRepositoryMockRecorder) Find

func (mr *MockImageRepositoryMockRecorder) Find(ctx, name, format, isThumbnail interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockImageRepositoryMockRecorder) Save

func (mr *MockImageRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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