### Question:
WorldView2ProductReaderPlugin extends BaseProductReaderPlugIn { @Override public String[] getFormatNames() { return WorldView2Constants.FORMAT_NAMES; } 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 testFormatNames() { final String[] formatNames = plugIn.getFormatNames(); assertNotNull(formatNames); assertEquals(1, formatNames.length); assertEquals("WorldView2GeoTIFF", formatNames[0]); }