### Question:
AbstractDriverProductReaderPlugIn implements ProductReaderPlugIn { @Override public final String[] getFormatNames() { return new String[] { this.pluginFormatName }; } 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 testFormatNames() { if (GDALInstallInfo.INSTANCE.isPresent()) { String[] formatNames = this.readerPlugIn.getFormatNames(); assertNotNull(formatNames); assertEquals(1, formatNames.length); String formatName = getFormatNameToCheck(); assertEquals(formatName, formatNames[0]); } }