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