@Test
public void testUnableToParse() {

    PropertiesCollectorSPI spi = getTimestampSpi();
    PropertiesCollector collector = spi.create("regex=[0-9]{8}T[0-9]{6}", Arrays.asList("time"));
    // Note that the number of 0 after the T char isn't enough
    // will throw an illegalArgumentException while parsing
    File file = new File("polyphemus_20130301T00000.nc"); 
    boolean parsed = true; 
    try {
        collector.collect(file);
        collector.setProperties(feature);
    } catch (IllegalArgumentException ie) {
        parsed = false;
    }
    assertFalse(parsed);
}