assertEquals(p.capacityComponents(), 1);
assertEquals(p.toString('@'), "hello");
p = new CategoryPath("hi/there", '/');
assertEquals(p.length(), 2);
assertEquals(p.capacityChars(), 7);
assertEquals(p.capacityComponents(), 2);
assertEquals(p.toString('@'), "hi@there");
p = new CategoryPath("how/are/you/doing?", '/');
assertEquals(p.length(), 4);
assertEquals(p.capacityChars(), 15);
assertEquals(p.capacityComponents(), 4);