@Test
public void testGetPrefixLength() throws Exception {

    assertEquals(0, FilenameUtils.getPrefixLength("src/test/java/nl/nn/adapterframework/util/t.txt"));
    assertEquals(7, FilenameUtils.getPrefixLength("~userz/a/b/c.txt"));
}