@Test
public void testExpandPathEnd() throws Exception {

    String original = "Company departments Department employees +Employee";
    String exp1 = "Company departments Department employees Employee";
    String exp2 = "Company departments Department employees Manager";
    String exp3 = "Company departments Department employees CEO";
    Set expected = new LinkedHashSet(Arrays.asList(new Object[] {exp1, exp2, exp3}));
    Assert.assertEquals(expected, QueryGenUtil.expandPath(os, original));
}