@Test
public void clear() {

    FinderPath path = new FinderPath().append("foo", "bar");
    assertFalse(path.isEmpty());
    assertEquals(1, path.size());
    path.clear();
    assertTrue(path.isEmpty());
    assertEquals(0, path.size());
}