GeoTiffProductReaderPlugIn implements ProductReaderPlugIn { @Override public String[] getDefaultFileExtensions() { return new String[]{".tif", ".tiff"}; }  @Override DecodeQualification getDecodeQualification(Object input); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override BeamFileFilter getProductFileFilter();  }
@Test public void testFileExtensions() { final String[] fileExtensions = plugIn.getDefaultFileExtensions(); assertNotNull(fileExtensions); final List<String> extensionList = Arrays.asList(fileExtensions); assertEquals(2, extensionList.size()); assertEquals(true, extensionList.contains(".tif")); assertEquals(true, extensionList.contains(".tiff")); }