public async Task ChangePlaylistShareState() { var account = CommonTests.GetAccount(); var mc = new MobileClient(); Assert.IsTrue(await mc.LoginAsync(account.Item1, account.Item2)); Playlist item; Assert.IsNotNull(item = await mc.CreatePlaylist(Guid.NewGuid().ToString(), "", ShareState.Public)); Assert.IsTrue(await mc.IsPlaylistSharedAsync(item)); item.ShareState = ShareState.Private; Assert.IsNotNull(item = await mc.UpdatePlaylistAsync(item)); Debug.WriteLine(item); Assert.IsFalse(await mc.IsPlaylistSharedAsync(item)); Assert.IsNotNull(await mc.DetelePlaylist(item)); }