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

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

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

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