String[] cleanFilters( String[] filters ) {
    return !ArrayUtils.isEmpty( filters )
        ? Arrays.asList( filters ).stream().filter( f -> !StringUtils.isBlank( f ) ).toArray( String[]::new )
        : null;
  }
@Test
  public void testCleanFilters() {

    String[] EMPTY_ARRAY = new String[]{};

    assertNull( testInstance.cleanFilters( null ) );

    assertNull( testInstance.cleanFilters( new String[]{} ) );

    assertArrayEquals( EMPTY_ARRAY, testInstance.cleanFilters( new String[]{ null } ) );

    assertArrayEquals( EMPTY_ARRAY, testInstance.cleanFilters( new String[]{ null, null, null } ) );

    assertArrayEquals( EMPTY_ARRAY, testInstance.cleanFilters( new String[]{ "     ", null, "" } ) );

    assertArrayEquals( new String[]{ "TXT", "CSV" }, testInstance.cleanFilters( new String[]{ FilterType.TXT.toString(), null,
      FilterType.CSV.toString(), "" } ) );

    assertArrayEquals( new String[]{ "TXT", "CSV" }, testInstance.cleanFilters( new String[]{ FilterType.TXT.toString(),
      FilterType.CSV.toString() } ) );
  }