mock_photo

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_photo 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) Delete

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

Delete mocks base method

func (*MockRepository) EXPECT

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

func (*MockRepository) Read

func (m *MockRepository) Read(id photo.Identifier) (*photo.Photo, error)

Read mocks base method

func (*MockRepository) Save

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

Save mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockRepositoryMockRecorder) Read

func (mr *MockRepositoryMockRecorder) Read(id interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockRepositoryMockRecorder) Save

func (mr *MockRepositoryMockRecorder) 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