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