@Test
public void testNumberOfCategoryPages(){

    Category cat;
    try {
        cat = wiki.getCategory("UKP");
        assertNotNull(cat);
        int numberOfPages = cat.getNumberOfPages();
        assertTrue(numberOfPages > 0);
        assertEquals(2, numberOfPages);
    } catch (WikiApiException e) {
        fail("A WikiApiException occurred while getting the category 'People of UKP': " + e.getLocalizedMessage());
    }
}