Program: 29574
Project: 29574
Buggy source:
@Test public void shouldCreatePlaylist_async() throws Exception {
  final Api api=Api.builder().accessToken("String_Node_Str").build();
  final PlaylistCreationRequest request=api.createPlaylist("String_Node_Str","String_Node_Str").publicAccess(true).httpManager(TestUtil.MockedHttpManager.returningJson("String_Node_Str")).build();
  final CountDownLatch asyncCompleted=new CountDownLatch(1);
  final SettableFuture<Playlist> playlistFuture=request.getAsync();
  Futures.addCallback(playlistFuture,new FutureCallback<Playlist>(){
    @Override public void onSuccess(    Playlist playlist){
      assertNotNull(playlist);
      assertFalse(playlist.isCollaborative());
      assertNull(playlist.getDescription());
      assertEquals("String_Node_Str",playlist.getExternalUrls().get("String_Node_Str"));
      assertNull(playlist.getFollowers());
      assertEquals("String_Node_Str",playlist.getHref());
      assertEquals("String_Node_Str",playlist.getId());
      assertEquals(1,playlist.getImages().size());
      assertNull(playlist.getImages().get(0));
      assertEquals("String_Node_Str",playlist.getName());
      assertNotNull(playlist.getOwner());
      assertTrue(playlist.isPublicAccess());
      assertNull(playlist.getTracks());
      assertEquals(ObjectType.PLAYLIST,playlist.getType());
      assertEquals("String_Node_Str",playlist.getUri());
      asyncCompleted.countDown();
    }
    @Override public void onFailure(    Throwable throwable){
      fail("String_Node_Str" + throwable.getMessage());
    }
  }
);
  asyncCompleted.await(1,TimeUnit.SECONDS);
}

Fixed version (ground truth):
@Test public void shouldCreatePlaylist_async() throws Exception {
  final Api api=Api.builder().accessToken("String_Node_Str").build();
  final PlaylistCreationRequest request=api.createPlaylist("String_Node_Str","String_Node_Str").publicAccess(true).httpManager(TestUtil.MockedHttpManager.returningJson("String_Node_Str")).build();
  final CountDownLatch asyncCompleted=new CountDownLatch(1);
  final SettableFuture<Playlist> playlistFuture=request.getAsync();
  Futures.addCallback(playlistFuture,new FutureCallback<Playlist>(){
    @Override public void onSuccess(    Playlist playlist){
      assertNotNull(playlist);
      assertFalse(playlist.getIsCollaborative());
      assertNull(playlist.getDescription());
      assertEquals("String_Node_Str",playlist.getExternalUrls().get("String_Node_Str"));
      assertNull(playlist.getFollowers());
      assertEquals("String_Node_Str",playlist.getHref());
      assertEquals("String_Node_Str",playlist.getId());
      assertEquals(1,playlist.getImages().size());
      assertNull(playlist.getImages().get(0));
      assertEquals("String_Node_Str",playlist.getName());
      assertNotNull(playlist.getOwner());
      assertTrue(playlist.getIsPublicAccess());
      assertNull(playlist.getTracks());
      assertEquals(ObjectType.PLAYLIST,playlist.getType());
      assertEquals("String_Node_Str",playlist.getUri());
      asyncCompleted.countDown();
    }
    @Override public void onFailure(    Throwable throwable){
      fail("String_Node_Str" + throwable.getMessage());
    }
  }
);
  asyncCompleted.await(1,TimeUnit.SECONDS);
}