@Test
 public void testAreChildrenAllowed() {
   System.out.println("testAreChildrenAllowed");
   for (Category root : serviceStub.getRootCategories()) {
     assertTrue(container.areChildrenAllowed(root.getId()));
     for (Category c : serviceStub.getChildren(root)) {
       /*
        * Even though it is legal to add children to any category,
        * this method should return false for categories without children
        * to make sure they show up as leaves.
        */
       assertFalse(container.areChildrenAllowed(c.getId()));
     }
   }
   assertFalse(container.areChildrenAllowed(-123l));
 }