### Question:
WorldView2ESAProductReaderPlugin extends BaseProductReaderPlugIn { @Override public String[] getDefaultFileExtensions() { return WorldView2ESAConstants.DEFAULT_EXTENSIONS; } WorldView2ESAProductReaderPlugin(); @Override MetadataInspector getMetadataInspector(); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale);  }### Answer:
@Test public void testFileExtensions() { final String[] fileExtensions = plugIn.getDefaultFileExtensions(); assertNotNull(fileExtensions); final List<String> extensionList = Arrays.asList(fileExtensions); assertEquals(2, extensionList.size()); assertEquals(".xml", extensionList.get(0)); }