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