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