@Test
public void testFileNameRegex() throws Exception {

    assertFalse("Hallo".matches(FILE_TYPE.getFilenameRegex()));
    assertFalse("ATS_AVG_3PAARC_20020915_D_nD3b.nc.gz".matches(FILE_TYPE.getFilenameRegex()));
    assertFalse("19950723120045-ESACCI-L2C_GHRSST-SSTskin-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex())); //Processing level 'L2C' is wrong
    assertFalse("20100701000000-ESACCI-L3A_GHRSST-SSTskin-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex())); //Processing level 'L3A' is wrong
    assertFalse("20100701000000-ESACCI-L3U_GHRSST-SSTsubskin-AMSRE-LT-04.1-01.1.nc".matches(
            FILE_TYPE.getFilenameRegex())); //'04.1-01.1' should be 'v04.1-fv01.1'
    assertFalse("20100701000000-ESACCI-L3U_GHRSST-SSTsubskin--LT-v04.1-fv01.1.nc".matches(
            FILE_TYPE.getFilenameRegex()));  //miss 'SEVIRI_SST'
    assertTrue("20100701000000-ESACCI-L3U_GHRSST-SSTskin-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3C_GHRSST-SSTskin-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3U_GHRSST-SSTskin-AATSR-LT-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3C_GHRSST-SSTskin-AATSR-LT-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("19950723120045-ESACCI-L3U_GHRSST-SSTdepth-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("19950723120045-ESACCI-L3C_GHRSST-SSTdepth-AATSR-DM-v02.0-fv01.0.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3U_GHRSST-SSTfnd-ATSR1-LT-v04.1-fv01.1.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20121101000000-ESACCI-L3U_GHRSST-SSTsubskin-ATSR2-LT-v04.1-fv01.1.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3U_GHRSST-SSTsubskin-AMSRE-LT-v04.1-fv01.1.nc".matches(
            FILE_TYPE.getFilenameRegex()));
    assertTrue("20100701000000-ESACCI-L3U_GHRSST-SSTsubskin-SEVIRI_SST-LT-v04.1-fv01.1.nc".matches(
            FILE_TYPE.getFilenameRegex()));
}