@Test
  public void test() {

    // get the spi
    final Set<PropertiesCollectorSPI> spis = PropertiesCollectorFinder.getPropertiesCollectorSPI();
    assertNotNull(spis);
    assertTrue(!spis.isEmpty());
    assertEquals(12, spis.size());
  }
  @Test
  public void testTime() throws IOException {

    // get the spi
    final Set<PropertiesCollectorSPI> spis = PropertiesCollectorFinder.getPropertiesCollectorSPI();
    assertNotNull(spis);
    assertTrue(!spis.isEmpty());
    URL testUrl = TestData.url(this, "time_geotiff/timeregex.properties");
    // test a regex
    PropertiesCollectorSPI spi;
    final Iterator<PropertiesCollectorSPI> iterator = spis.iterator();
    while (iterator.hasNext()) {
      spi = iterator.next();
      if (spi instanceof TimestampFileNameExtractorSPI) {
        final PropertiesCollector pc = spi.create(testUrl, Arrays.asList("time_attr"));
        pc.collect(TestData.file(this, "time_geotiff/world.200403.3x5400x2700.tiff"));
        return;
      }
    }
    assertTrue(false);
  }