@Test
public void testClassName() {

    List<PathSearch.Chunk> list = PathSearch.split("/hello[3]//world.Foo/.Bar");
    logger.debug("list: {}", list);
    PathSearch.Chunk first = list.get(0);
    assertFalse(first.anyDepth);
    assertEquals("hello", first.controlType);
    assertNull(first.className);
    assertEquals(2, first.index);
    PathSearch.Chunk second = list.get(1);
    assertTrue(second.anyDepth);
    assertEquals("world", second.controlType);
    assertEquals("Foo", second.className);
    PathSearch.Chunk third = list.get(2);
    assertFalse(third.anyDepth);
    assertEquals(null, third.controlType);
    assertEquals("Bar", third.className);
}