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