@Test
public void testNumberOfCategoryChildren(){

    Category cat;
    try {
        cat = wiki.getCategory(A_FAMOUS_CATEGORY);
        assertNotNull(cat);
        // expecting IDs: 12, 13, 14 and 15 to make up for 4 child categories
        int expectedNumberOfChildren = cat.getNumberOfChildren();
        assertEquals(4, expectedNumberOfChildren);
    } catch (WikiApiException e) {
        fail("A WikiApiException occurred while getting the category 'People of UKP': " + e.getLocalizedMessage());
    }
}