### Question:
DeimosProductReaderPlugin extends BaseProductReaderPlugIn { @Override public String[] getDefaultFileExtensions() { return DeimosConstants.DIMAP_DEFAULT_EXTENSIONS; } DeimosProductReaderPlugin(); @Override MetadataInspector getMetadataInspector(); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override DecodeQualification getDecodeQualification(Object input);  }### Answer:
@Test public void testFileExtensions() { final String[] fileExtensions = plugIn.getDefaultFileExtensions(); assertNotNull(fileExtensions); final List<String> extensionList = Arrays.asList(fileExtensions); assertEquals(3, extensionList.size()); assertEquals(".dim", extensionList.get(0)); assertEquals(".zip", extensionList.get(1)); assertEquals(".tar", extensionList.get(2)); }