ModisProductReaderPlugIn implements ProductReaderPlugIn { public String[] getDefaultFileExtensions() { return new String[]{ModisConstants.DEFAULT_FILE_EXTENSION}; }  DecodeQualification getDecodeQualification(Object input); Class[] getInputTypes(); ProductReader createReaderInstance(); SnapFileFilter getProductFileFilter(); String[] getDefaultFileExtensions(); String getDescription(Locale locale); String[] getFormatNames();  }
@Test public void testGetDefaultFileExtension() { final String[] defaultFileExtensions = plugIn.getDefaultFileExtensions(); assertNotNull(defaultFileExtensions); assertEquals(1, defaultFileExtensions.length); assertEquals(".hdf", defaultFileExtensions[0]); }