public SelectionAdapterOptions( SelectionOperation selectionOperation, String[] filters, String defaultFilter,
                                  String[] providerFilters, boolean useSchemaPath  ) {
    this.selectionOperation = selectionOperation;
    this.filters = filters;
    this.defaultFilter = defaultFilter;
    this.providerFilters = providerFilters;
    this.useSchemaPath = useSchemaPath;
  }
@Test
  public void testSelectionAdapterOptions() {
    SelectionOperation selectionOperation = SelectionOperation.FILE;
    FilterType[] filterTypes = new FilterType[] { FilterType.ALL, FilterType.CSV, FilterType.TXT };
    FilterType defaultFilter = FilterType.CSV;
    String[] providerFilters = new String[] { "local" };
    boolean useSchemaPath = true;
    String[] expectedFilterTypes =  new String[] { "ALL", "CSV", "TXT" };

    SelectionAdapterOptions selectionAdapterOptions = new SelectionAdapterOptions( selectionOperation, filterTypes,
        defaultFilter, providerFilters, useSchemaPath );

    assertEquals( SelectionOperation.FILE, selectionAdapterOptions.getSelectionOperation() );
    assertArrayEquals( expectedFilterTypes, selectionAdapterOptions.getFilters() );
    assertEquals( defaultFilter.toString(), selectionAdapterOptions.getDefaultFilter() );
    assertArrayEquals( providerFilters , selectionAdapterOptions.getProviderFilters() );
    assertTrue( selectionAdapterOptions.getUseSchemaPath() );
  }