@Test
public void testOnlyName() {

    List<PathSearch.Chunk> list = PathSearch.split("//foo//{Bar One}/{Baz}");
    logger.debug("list: {}", list);
    PathSearch.Chunk first = list.get(0);
    assertTrue(first.anyDepth);
    assertEquals("foo", first.controlType);
    assertNull(first.className);
    assertNull(first.name);
    assertEquals(-1, first.index);
    PathSearch.Chunk second = list.get(1);
    assertTrue(second.anyDepth);
    assertEquals(null, second.controlType);
    assertEquals(null, second.className);
    assertEquals("Bar One", second.name);
    PathSearch.Chunk third = list.get(2);
    assertFalse(third.anyDepth);
    assertEquals(null, third.controlType);
    assertEquals("Baz", third.name);      
}