@Test
public void setName() throws Exception {

    String oldName = "beer";
    FolderPath folderPath = new FolderPath("foo", "bar", oldName);
    assertEquals(oldName, folderPath.getName());
    String newName = "tom";
    folderPath.setName(newName);
    assertEquals(newName, folderPath.getName());
}