GeoTiffProductReaderPlugIn implements ProductReaderPlugIn { @Override public Class[] getInputTypes() { return new Class[]{String.class, File.class, InputStream.class,}; }  @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 testInputTypes() { final Class[] classes = plugIn.getInputTypes(); assertNotNull(classes); assertEquals(3, classes.length); final List<Class> list = Arrays.asList(classes); assertEquals(true, list.contains(File.class)); assertEquals(true, list.contains(String.class)); assertEquals(true, list.contains(InputStream.class)); }