AtsrProductReaderPlugIn implements ProductReaderPlugIn { public Class[] getInputTypes() { return new Class[]{String.class, File.class, ImageInputStream.class}; } AtsrProductReaderPlugIn(); DecodeQualification getDecodeQualification(Object input); String[] getFormatNames(); String[] getDefaultFileExtensions(); Class[] getInputTypes(); String getDescription(Locale locale); ProductReader createReaderInstance(); SnapFileFilter getProductFileFilter();  }
@Test public void testGetInputTypes() { Class[] expected = new Class[]{String.class, File.class, ImageInputStream.class}; Class[] actual = null; actual = _plugIn.getInputTypes(); assertNotNull(actual); for (int n = 0; n < expected.length; n++) { assertEquals(expected[n], actual[n]); } }