Documentation ¶
Overview ¶
Package mock_spotify is a generated GoMock package.
Index ¶
- type MockClienter
- func (m *MockClienter) AddSongsToPlaylist(ctx context.Context, songs []string, playlistId string) error
- func (m *MockClienter) EXPECT() *MockClienterMockRecorder
- func (m *MockClienter) GetCurrentPlaylist(ctx context.Context, playlistId string) ([]spotify.Track, error)
- func (m *MockClienter) GetTrackBySongNameAndArtist(ctx context.Context, name string, artist []string) (spotify.Track, error)
- func (m *MockClienter) RemoveSongsFromPlaylist(ctx context.Context, songs []spotify.Track, playlistId string) error
- type MockClienterMockRecorder
- func (mr *MockClienterMockRecorder) AddSongsToPlaylist(ctx, songs, playlistId interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) GetCurrentPlaylist(ctx, playlistId interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) GetTrackBySongNameAndArtist(ctx, name, artist interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) RemoveSongsFromPlaylist(ctx, songs, playlistId interface{}) *gomock.Call
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 ¶
func (m *MockClienter) EXPECT() *MockClienterMockRecorder
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.