EnviProductReaderPlugIn implements ProductReaderPlugIn { @Override public String[] getDefaultFileExtensions() { return new String[]{EnviConstants.HDR_EXTENSION, EnviConstants.ZIP_EXTENSION}; }  @Override DecodeQualification getDecodeQualification(Object input); @Override String[] getFormatNames(); @Override ProductReader createReaderInstance(); @Override String[] getDefaultFileExtensions(); @Override Class[] getInputTypes(); @Override String getDescription(Locale locale); @Override BeamFileFilter getProductFileFilter();  }
@Test public void testGetDefaultFileExtensions() { final String[] defaultFileExtensions = readerPlugIn.getDefaultFileExtensions(); assertEquals(2, defaultFileExtensions.length); assertEquals(".hdr", defaultFileExtensions[0]); assertEquals(".zip", defaultFileExtensions[1]); }