mock_service

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPhotoService

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

MockPhotoService is a mock of PhotoService interface

func NewMockPhotoService

func NewMockPhotoService(ctrl *gomock.Controller) *MockPhotoService

NewMockPhotoService creates a new mock instance

func (*MockPhotoService) Delete

func (m *MockPhotoService) Delete(id photo.Identifier) error

Delete mocks base method

func (*MockPhotoService) EXPECT

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

func (*MockPhotoService) Find

Find mocks base method

func (*MockPhotoService) Save

func (m *MockPhotoService) Save(photograph photo.Photo) (*photo.Identifier, error)

Save mocks base method

type MockPhotoServiceMockRecorder

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

MockPhotoServiceMockRecorder is the mock recorder for MockPhotoService

func (*MockPhotoServiceMockRecorder) Delete

func (mr *MockPhotoServiceMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockPhotoServiceMockRecorder) Find

func (mr *MockPhotoServiceMockRecorder) Find(id interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockPhotoServiceMockRecorder) Save

func (mr *MockPhotoServiceMockRecorder) Save(photo 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