@Test
public void testParseIsoTimestamp() {

    PropertiesCollectorSPI spi = getTimestampSpi();
    PropertiesCollector collector = spi.create("regex=[0-9]{8}T[0-9]{6}", Arrays.asList("time"));
    File file = new File("polyphemus_20130301T000000.nc");
    collector.collect(file);
    collector.setProperties(feature);
    Date time = (Date) feature.getAttribute("time");
    assertNotNull(time);
    assertEquals("2013-03-01T00:00:00.000Z", df.format(time));
}