public ConnectionFileName createChildName( String name, FileType type ) {
    String childAbsPath = getConnectionFileNameUtils().ensureTrailingSeparator( getPath() ) + name;
    return new ConnectionFileName( connection, childAbsPath, type );
  }
@Test
  public void testCreateChildNameOfSubFolderReturnsFileNameWithCorrectPath() {
    ConnectionFileName parentFileName = new ConnectionFileName( "connection", "/folder", FileType.FOLDER );

    assertEquals( "pvfs://connection/folder", parentFileName.getURI() );

    ConnectionFileName childFileName = parentFileName.createChildName( "child", FileType.FOLDER );

    assertEquals( "pvfs://connection/folder/child", childFileName.getURI() );
  }