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