### Question:
WorldView2ProductReaderPlugin extends BaseProductReaderPlugIn { @Override public Class[] getInputTypes() { return WorldView2Constants.READER_INPUT_TYPES; } WorldView2ProductReaderPlugin(); @Override MetadataInspector getMetadataInspector(); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale);  }### Answer:
@Test public void testInputTypes() { final Class[] classes = plugIn.getInputTypes(); assertNotNull(classes); assertEquals(2, classes.length); final List<Class> list = Arrays.asList(classes); assertEquals(true, list.contains(File.class)); assertEquals(true, list.contains(String.class)); }