mock_spotify

package
v0.0.0-...-4e76757 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_spotify is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClienter

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

MockClienter is a mock of Clienter interface.

func NewMockClienter

func NewMockClienter(ctrl *gomock.Controller) *MockClienter

NewMockClienter creates a new mock instance.

func (*MockClienter) AddSongsToPlaylist

func (m *MockClienter) AddSongsToPlaylist(ctx context.Context, songs []string, playlistId string) error

AddSongsToPlaylist mocks base method.

func (*MockClienter) EXPECT

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

func (*MockClienter) GetCurrentPlaylist

func (m *MockClienter) GetCurrentPlaylist(ctx context.Context, playlistId string) ([]spotify.Track, error)

GetCurrentPlaylist mocks base method.

func (*MockClienter) GetTrackBySongNameAndArtist

func (m *MockClienter) GetTrackBySongNameAndArtist(ctx context.Context, name string, artist []string) (spotify.Track, error)

GetTrackBySongNameAndArtist mocks base method.

func (*MockClienter) RemoveSongsFromPlaylist

func (m *MockClienter) RemoveSongsFromPlaylist(ctx context.Context, songs []spotify.Track, playlistId string) error

RemoveSongsFromPlaylist mocks base method.

type MockClienterMockRecorder

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

MockClienterMockRecorder is the mock recorder for MockClienter.

func (*MockClienterMockRecorder) AddSongsToPlaylist

func (mr *MockClienterMockRecorder) AddSongsToPlaylist(ctx, songs, playlistId interface{}) *gomock.Call

AddSongsToPlaylist indicates an expected call of AddSongsToPlaylist.

func (*MockClienterMockRecorder) GetCurrentPlaylist

func (mr *MockClienterMockRecorder) GetCurrentPlaylist(ctx, playlistId interface{}) *gomock.Call

GetCurrentPlaylist indicates an expected call of GetCurrentPlaylist.

func (*MockClienterMockRecorder) GetTrackBySongNameAndArtist

func (mr *MockClienterMockRecorder) GetTrackBySongNameAndArtist(ctx, name, artist interface{}) *gomock.Call

GetTrackBySongNameAndArtist indicates an expected call of GetTrackBySongNameAndArtist.

func (*MockClienterMockRecorder) RemoveSongsFromPlaylist

func (mr *MockClienterMockRecorder) RemoveSongsFromPlaylist(ctx, songs, playlistId interface{}) *gomock.Call

RemoveSongsFromPlaylist indicates an expected call of RemoveSongsFromPlaylist.

Jump to

Keyboard shortcuts

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