SmosProductReaderPlugIn implements ProductReaderPlugIn { @Override public BeamFileFilter getProductFileFilter() { return new BeamFileFilter(getFormatNames()[0], getDefaultFileExtensions(), getDescription(null)); }  @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 testGetProductFileFilter() { final BeamFileFilter productFileFilter = plugIn.getProductFileFilter(); assertArrayEquals(plugIn.getDefaultFileExtensions(), productFileFilter.getExtensions()); assertEquals(plugIn.getFormatNames()[0], productFileFilter.getFormatName()); if (SmosUtils.isLightBufrTypeSupported()) { assertEquals("SMOS Data Products (*.HDR,*.DBL,*.zip,*.ZIP,*.bin)", productFileFilter.getDescription()); } else { assertEquals("SMOS Data Products (*.HDR,*.DBL,*.zip,*.ZIP)", productFileFilter.getDescription()); } }