BinnedProductReaderPlugin implements ProductReaderPlugIn { public Class[] getInputTypes() { return new Class[]{String.class, File.class}; }  DecodeQualification getDecodeQualification(Object input); Class[] getInputTypes(); ProductReader createReaderInstance(); BeamFileFilter getProductFileFilter(); String[] getFormatNames(); String[] getDefaultFileExtensions(); String getDescription(Locale locale);  }
@Test public void testGetInputTypes() { final Class[] inputTypes = plugin.getInputTypes(); assertEquals(2, inputTypes.length); assertEquals(String.class, inputTypes[0]); assertEquals(File.class, inputTypes[1]); }