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