Program: 29615
Project: 29615
Buggy source:
@Test public void shouldGetPlaylistsForUser_sync() throws Exception {
  final String accessToken="String_Node_Str";
  final Api api=Api.builder().build();
  final UserPlaylistsRequest request=api.getPlaylistsForUser("String_Node_Str").accessToken(accessToken).httpManager(TestUtil.MockedHttpManager.returningJson("String_Node_Str")).build();
  final Paging<PlaylistSimplified> playlistsPage=request.get();
  assertTrue(playlistsPage.getTotal() >= 0);
  assertNull(playlistsPage.getNext());
  assertEquals("String_Node_Str",playlistsPage.getPrevious());
  assertEquals(10,playlistsPage.getLimit());
  assertEquals(2,playlistsPage.getOffset());
  assertEquals("String_Node_Str",playlistsPage.getHref());
  final PlaylistSimplified simplePlaylist=playlistsPage.getItems().get(0);
  final String playlistId=simplePlaylist.getId();
  assertNotNull(playlistId);
  assertTrue(playlistId.length() > 0);
  assertEquals(false,simplePlaylist.getIsCollaborative());
  assertEquals("String_Node_Str" + playlistId,simplePlaylist.getExternalUrls().get("String_Node_Str"));
  assertNotNull(simplePlaylist.getName());
  assertNotNull(simplePlaylist.getOwner());
  assertNotNull(simplePlaylist.getIsPublicAccess());
  assertNotNull(simplePlaylist.getTracks().getHref());
  assertNotNull(simplePlaylist.getTracks().getTotal());
  assertEquals(ObjectType.PLAYLIST,simplePlaylist.getType());
  assertEquals("String_Node_Str" + playlistId,simplePlaylist.getUri());
  assertEquals(1,simplePlaylist.getImages().size());
  assertEquals("String_Node_Str",simplePlaylist.getImages().get(0).getUrl());
  assertNull(simplePlaylist.getImages().get(0).getWidth());
  assertNull(simplePlaylist.getImages().get(0).getHeight());
}

Fixed version (ground truth):
@Test public void shouldGetPlaylistsForUser_sync() throws Exception {
  final String accessToken="String_Node_Str";
  final Api api=Api.builder().build();
  final UserPlaylistsRequest request=api.getPlaylistsForUser("String_Node_Str").accessToken(accessToken).httpManager(TestUtil.MockedHttpManager.returningJson("String_Node_Str")).build();
  final Paging<PlaylistSimplified> playlistsPage=request.get();
  assertTrue(playlistsPage.getTotal() >= 0);
  assertNull(playlistsPage.getNext());
  assertEquals("String_Node_Str",playlistsPage.getPrevious());
  assertEquals(10,playlistsPage.getLimit());
  assertEquals(2,playlistsPage.getOffset());
  assertEquals("String_Node_Str",playlistsPage.getHref());
  final PlaylistSimplified simplePlaylist=playlistsPage.getItems().get(0);
  final String playlistId=simplePlaylist.getId();
  assertNotNull(playlistId);
  assertTrue(playlistId.length() > 0);
  assertEquals(false,simplePlaylist.getIsCollaborative());
  assertEquals("String_Node_Str" + playlistId,simplePlaylist.getExternalUrls().get("String_Node_Str"));
  assertNotNull(simplePlaylist.getName());
  assertNotNull(simplePlaylist.getOwner());
  assertNotNull(simplePlaylist.getIsPublicAccess());
  assertNotNull(simplePlaylist.getTracks().getHref());
  assertNotNull(simplePlaylist.getTracks().getTotal());
  assertEquals(ObjectType.PLAYLIST,simplePlaylist.getType());
  assertEquals("String_Node_Str" + playlistId,simplePlaylist.getUri());
  assertEquals(1,simplePlaylist.getImages().size());
  assertEquals("String_Node_Str",simplePlaylist.getImages().get(0).getUrl());
  assertEquals(0,simplePlaylist.getImages().get(0).getWidth());
  assertEquals(0,simplePlaylist.getImages().get(0).getHeight());
}