void (String path, String... expectedElements) { List<String> actualElements = ContainerUtil.collect(Paths.split(path).iterator()); assertEquals(path, Arrays.asList(expectedElements), actualElements); }