Page implements WikiConstants { protected String getPageInfo() throws WikiApiException { StringBuilder sb = new StringBuilder(1000); sb.append("ID : ").append(__getId()).append(LF); sb.append("PageID : ").append(getPageId()).append(LF); sb.append("Name : ").append(getTitle()).append(LF); sb.append("Disambiguation : ").append(isDisambiguation()).append(LF); sb.append("Redirects").append(LF); for (String redirect : getRedirects()) { sb.append(" ").append(redirect).append(LF); } sb.append("Categories").append(LF); for (Category category : getCategories()) { sb.append(" ").append(category.getTitle()).append(LF); } sb.append("In-Links").append(LF); for (Page inLink : getInlinks()) { sb.append(" ").append(inLink.getTitle()).append(LF); } sb.append("Out-Links").append(LF); for (Page outLink : getOutlinks()) { sb.append(" ").append(outLink.getTitle()).append(LF); } return sb.toString(); } protected  Page(Wikipedia wiki, long id); protected  Page(Wikipedia wiki, int pageID);  Page(Wikipedia wiki, String pName);  Page(Wikipedia wiki, String pName, boolean useExactTitle); protected  Page(Wikipedia wiki, long id,
			de.tudarmstadt.ukp.wikipedia.api.hibernate.Page hibernatePage); int getPageId(); Set<Category> getCategories(); int getNumberOfCategories(); Set<Page> getInlinks(); int getNumberOfInlinks(); Set<Integer> getInlinkIDs(); Set<Page> getOutlinks(); int getNumberOfOutlinks(); Set<Integer> getOutlinkIDs(); Title getTitle(); Set<String> getRedirects(); String getText(); boolean isDisambiguation(); boolean isRedirect(); boolean isDiscussion(); String getPlainText();  }
@Test public void testGetPageInfo() { try { String pageInfo = page.getPageInfo(); assertNotNull(pageInfo); assertTrue(pageInfo.length() > 0); } catch (WikiApiException e) { fail("A WikiApiException occurred while getting the page info: " + e.getLocalizedMessage()); } }