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