public void GroupsPoolsAddBasicTest() { byte[] imageBytes = TestData.TestImageBytes; Stream s = new MemoryStream(imageBytes); s.Position = 0; string title = "Test Title"; string desc = "Test Description\nSecond Line"; string tags = "testtag1,testtag2"; string photoId = AuthInstance.UploadPicture(s, "Test.jpg", title, desc, tags, false, false, false, ContentType.Other, SafetyLevel.Safe, HiddenFromSearch.Visible); try { AuthInstance.GroupsPoolsAdd(photoId, Data.FlickrNetTestGroupId); } finally { AuthInstance.PhotosDelete(photoId); } }