mocks

package
v0.0.0-...-3e42ba9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAlbumRepository

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

MockAlbumRepository is a mock of AlbumRepository interface

func NewMockAlbumRepository

func NewMockAlbumRepository(ctrl *gomock.Controller) *MockAlbumRepository

NewMockAlbumRepository creates a new mock instance

func (*MockAlbumRepository) EXPECT

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

func (*MockAlbumRepository) GetByArtist

func (m *MockAlbumRepository) GetByArtist(artistID uuid.UUID) ([]music.Album, error)

GetByArtist mocks base method

type MockAlbumRepositoryMockRecorder

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

MockAlbumRepositoryMockRecorder is the mock recorder for MockAlbumRepository

func (*MockAlbumRepositoryMockRecorder) GetByArtist

func (mr *MockAlbumRepositoryMockRecorder) GetByArtist(artistID interface{}) *gomock.Call

GetByArtist indicates an expected call of GetByArtist

type MockArtistRepository

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

MockArtistRepository is a mock of ArtistRepository interface

func NewMockArtistRepository

func NewMockArtistRepository(ctrl *gomock.Controller) *MockArtistRepository

NewMockArtistRepository creates a new mock instance

func (*MockArtistRepository) EXPECT

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

func (*MockArtistRepository) GetByID

func (m *MockArtistRepository) GetByID(id uuid.UUID) (music.Artist, error)

GetByID mocks base method

type MockArtistRepositoryMockRecorder

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

MockArtistRepositoryMockRecorder is the mock recorder for MockArtistRepository

func (*MockArtistRepositoryMockRecorder) GetByID

func (mr *MockArtistRepositoryMockRecorder) GetByID(id interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

Jump to

Keyboard shortcuts

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