@Test
public void testPathToString() {

    List<String> list = new ArrayList<String>();
    list.add("a");
    list.add("b");
    String result = "a" + File.pathSeparator + "b";
    assertEquals(result, writer.pathToString(list));
}