@Deprecated
  public static FileInputList createFolderList( VariableSpace space, String[] folderName,
                                                String[] folderRequired ) {
    return createFolderList( DefaultBowl.getInstance(), space, folderName, folderRequired );
  }
@Test
  public void testCreateFolderList() throws Exception {
    buildTestFolderTree();
    String[] folderNameList = { tempFolder.getRoot().getPath() };
    String[] folderRequiredList = { "N" };
    VariableSpace spaceMock = mock( VariableSpace.class );
    when( spaceMock.environmentSubstitute( any( String[].class ) ) ).thenAnswer(
      (Answer<String[]>) invocationOnMock -> (String[]) invocationOnMock.getArguments()[ 0 ] );

    FileInputList fileInputList = FileInputList.
      createFolderList( spaceMock, folderNameList, folderRequiredList );

    assertNotNull( fileInputList );
    assertEquals( TOTAL_NUMBER_OF_FOLDERS_NO_ROOT, fileInputList.nrOfFiles() );
  }