@Test void testFirstTimeInitWihtClientIdAndSecret() { this.playerLogic.firstTimeInit(ID2, ID2); verify(this.spotifyAPICalls).setClientID(ID2); verify(this.spotifyAPICalls).setClientSecret(ID2); verify(this.spotifyAPICalls).authorizationCodeUri(); }
public URI firstTimeInit(String clientID, String clientSecret) { this.spotifyAPICalls.setClientID(clientID); this.spotifyAPICalls.setClientSecret(clientSecret); return this.spotifyAPICalls.authorizationCodeUri(); }
PlayerLogic { public URI firstTimeInit(String clientID, String clientSecret) { this.spotifyAPICalls.setClientID(clientID); this.spotifyAPICalls.setClientSecret(clientSecret); return this.spotifyAPICalls.authorizationCodeUri(); } }
PlayerLogic { public URI firstTimeInit(String clientID, String clientSecret) { this.spotifyAPICalls.setClientID(clientID); this.spotifyAPICalls.setClientSecret(clientSecret); return this.spotifyAPICalls.authorizationCodeUri(); }  }
PlayerLogic { public URI firstTimeInit(String clientID, String clientSecret) { this.spotifyAPICalls.setClientID(clientID); this.spotifyAPICalls.setClientSecret(clientSecret); return this.spotifyAPICalls.authorizationCodeUri(); }  URI firstTimeInit(String clientID, String clientSecret); URI firstTimeInit(); void inputAuthCode(String authCode); PlaylistEntity play(); PlaylistEntity playPlaylist(int playlistNumber, SearchTypes type); TrackEntity playTrack(int trackNumber); AlbumEntity playAlbum(int albumNumber); ArtistEntity playArtist(int artistNumber); boolean resume(); boolean pause(); boolean skip(); boolean back(); TrackEntity getCurrentSong(); int setVolume(String volumeString); int setVolume(int volume); int getVolume(); }
PlayerLogic { public URI firstTimeInit(String clientID, String clientSecret) { this.spotifyAPICalls.setClientID(clientID); this.spotifyAPICalls.setClientSecret(clientSecret); return this.spotifyAPICalls.authorizationCodeUri(); }  URI firstTimeInit(String clientID, String clientSecret); URI firstTimeInit(); void inputAuthCode(String authCode); PlaylistEntity play(); PlaylistEntity playPlaylist(int playlistNumber, SearchTypes type); TrackEntity playTrack(int trackNumber); AlbumEntity playAlbum(int albumNumber); ArtistEntity playArtist(int artistNumber); boolean resume(); boolean pause(); boolean skip(); boolean back(); TrackEntity getCurrentSong(); int setVolume(String volumeString); int setVolume(int volume); int getVolume();  }