### Question:
AbstractDriverProductReaderPlugIn implements ProductReaderPlugIn { @Override public final Class[] getInputTypes() { return new Class[] { String.class, File.class }; } protected  AbstractDriverProductReaderPlugIn(String driverName, String driverDisplayName); protected  AbstractDriverProductReaderPlugIn(String extension, String driverShortName, String driverLongName); @Override MetadataInspector getMetadataInspector(); @Override final String getDescription(Locale locale); @Override final String[] getFormatNames(); @Override DecodeQualification getDecodeQualification(Object input); @Override final Class[] getInputTypes(); @Override final ProductReader createReaderInstance(); @Override final String[] getDefaultFileExtensions(); @Override final SnapFileFilter getProductFileFilter(); final String getDriverName();  }### Answer:
@Test public final void testInputTypes() { if (GDALInstallInfo.INSTANCE.isPresent()) { Class[] classes = this.readerPlugIn.getInputTypes(); assertNotNull(classes); assertEquals(2, classes.length); List<Class> list = Arrays.asList(classes); assertTrue(list.contains(File.class)); assertTrue(list.contains(String.class)); } }