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 ¶
func (m *MockPhotoService) EXPECT() *MockPhotoServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPhotoService) Find ¶
func (m *MockPhotoService) Find(id photo.Identifier) (*photo.Photo, error)
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
Click to show internal directories.
Click to hide internal directories.