### Question:
PhotosetsInterface { public Photosets getList(String userId) throws IOException, FlickrException, JSONException { return getList(userId,-1,-1); } PhotosetsInterface(String apiKey, String sharedSecret,
			Transport transportAPI); void addPhoto(String photosetId, String photoId); Photoset create(String title, String description,
			String primaryPhotoId); void delete(String photosetId); void editMeta(String photosetId, String title, String description); void editPhotos(String photosetId, String primaryPhotoId,
			String[] photoIds); PhotoContext getContext(String photoId, String photosetId); Photoset getInfo(String photosetId); Photosets getList(String userId); Photosets getList(String userId, int perPage, int page); Photoset getPhotos(String photosetId, Set<String> extras,
			int privacyFilter, int perPage, int page); Photoset getPhotos(String photosetId, int perPage, int page); void orderSets(String[] photosetIds); void removePhoto(String photosetId, String photoId); static final String METHOD_ADD_PHOTO; static final String METHOD_CREATE; static final String METHOD_DELETE; static final String METHOD_EDIT_META; static final String METHOD_EDIT_PHOTOS; static final String METHOD_GET_CONTEXT; static final String METHOD_GET_INFO; static final String METHOD_GET_LIST; static final String METHOD_GET_PHOTOS; static final String METHOD_ORDER_SETS; static final String METHOD_REMOVE_PHOTO; }### Answer:
@Test public void testGetList() throws IOException, FlickrException, JSONException { Photosets photosets = f.getPhotosetsInterface().getList(TestConstants.USER_ID); assertNotNull(photosets); assertFalse(photosets.getPhotosets().isEmpty()); }
@Test public void testGetList2() throws IOException, FlickrException, JSONException { Photosets photosets = f.getPhotosetsInterface().getList(TestConstants.USER_ID, 2, 1); assertNotNull(photosets); assertFalse(photosets.getPhotosets().isEmpty()); assertTrue( photosets.getPhotosets().size() <= 2); }