@Test public void testLookupGallery() throws FlickrException { UrlsInterface iface = flickr.getUrlsInterface(); Gallery gallery = iface.lookupGallery( String.format( "https://www.flickr.com/photos/%s/", testProperties.getUsername() + "/galleries/" + testProperties.getGalleryId())); assertNotNull(gallery); assertTrue(gallery.getId().endsWith(testProperties.getGalleryId())); }