@Override public void populate( Map<String, Object> properties, RepositoriesMeta repositoriesMeta ) {
    super.populate( properties, repositoriesMeta );
    Boolean showHiddenFolders = (Boolean) properties.get( SHOW_HIDDEN_FOLDERS );
    String location = (String) properties.get( LOCATION );
    Boolean doNotModify = (Boolean) properties.get( DO_NOT_MODIFY );

    setHidingHiddenFiles( showHiddenFolders );
    setBaseDirectory( location );
    setReadOnly( doNotModify );
  }
@Test
  public void testPopulate() throws Exception {
    Map<String, Object> properties = new HashMap<>();
    properties.put( "displayName", NAME );
    properties.put( "showHiddenFolders", true );
    properties.put( "description", DESCRIPTION );
    properties.put( "location", THIS_IS_THE_PATH );
    properties.put( "doNotModify", true );
    properties.put( "isDefault", true );

    kettleFileRepositoryMeta.populate( properties, repositoriesMeta );

    assertEquals( NAME, kettleFileRepositoryMeta.getName() );
    assertEquals( true, kettleFileRepositoryMeta.isHidingHiddenFiles() );
    assertEquals( DESCRIPTION, kettleFileRepositoryMeta.getDescription() );
    assertEquals( THIS_IS_THE_PATH, kettleFileRepositoryMeta.getBaseDirectory() );
    assertEquals( true, kettleFileRepositoryMeta.isReadOnly() );
    assertEquals( true, kettleFileRepositoryMeta.isDefault() );
  }