public void Favorite() { var list = _api.FavoriteList(0, 0, SynologyApi.StatusFilter.all, new SynologyApi.FileStationFavoriteAddtionalOptions { mount_point_type = true, owner = true, perm = true, real_path = true, size = true, time = true }); list.success.Should().BeTrue(); var testFavoritesDest = _synoTestFolderNoSlash + "/fav_test"; var testFavoritesName = _synoTestFolderNoSlash + "/fav_test"; var add = _api.AddFavorite(testFavoritesDest, testFavoritesName); add.success.Should().BeTrue(); var delete = _api.DeleteFavorite(testFavoritesDest); delete.success.Should().BeTrue(); var edit = _api.EditFavorite(testFavoritesDest, testFavoritesName); edit.success.Should().BeTrue(); var replace = _api.ReplaceFavorite(testFavoritesDest, testFavoritesName); replace.success.Should().BeTrue(); var clear = _api.ClearBrokenFavorites(testFavoritesDest, testFavoritesName); clear.success.Should().BeTrue(); }