void () { PathsList builder = new PathsList(); builder.add("a" + File.pathSeparatorChar + "b"); builder.add("c" + File.pathSeparatorChar + "b"); assertThat(builder.getPathList()).containsExactly("a", "b", "c"); }