@Test public void testCanRetrieveItemFromGuardianUrl() throws Exception { result = GuardianContentApi.itemQuery(firstItemInIndexWebUrn).execute(); validateContent(result.getContent()); }
@Test public void testCanRetrieveItemUrlFromFullyQualifiedApiUrlString() throws Exception { result = GuardianContentApi.itemQuery(firstItemInIndexApiUrl).execute(); validateContent(result.getContent()); }
@Test public void testCanRetriveUrlWithURLObject() throws Exception { result = GuardianContentApi.itemQuery(new URL(firstItemInIndexApiUrl)).execute(); validateContent(result.getContent()); }