SmosProductReaderPlugIn implements ProductReaderPlugIn { @Override public String[] getDefaultFileExtensions() { if (SmosUtils.isLightBufrTypeSupported()) { return EXTENSIONS_WITH_BUFR; } else { return EXTENSIONS; } }  @Override SmosProductReader createReaderInstance(); @Override DecodeQualification getDecodeQualification(Object input); @Override Class[] getInputTypes(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override String[] getFormatNames(); @Override BeamFileFilter getProductFileFilter();  }
@Test public void testGetDefaultFileExtensions() { final String[] extensions = plugIn.getDefaultFileExtensions(); if (SmosUtils.isLightBufrTypeSupported()) { assertEquals(5, extensions.length); assertEquals(".HDR", extensions[0]); assertEquals(".DBL", extensions[1]); assertEquals(".zip", extensions[2]); assertEquals(".ZIP", extensions[3]); assertEquals(".bin", extensions[4]); } else { assertEquals(4, extensions.length); assertEquals(".HDR", extensions[0]); assertEquals(".DBL", extensions[1]); assertEquals(".zip", extensions[2]); assertEquals(".ZIP", extensions[3]); } }