### Question:
DeimosProductReaderPlugin extends BaseProductReaderPlugIn { @Override public DecodeQualification getDecodeQualification(Object input) { return super.getDecodeQualification(input); } 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 testDecodeQualificationForXML() throws IOException { Date startDate = Calendar.getInstance().getTime(); DecodeQualification decodeQualification = plugIn.getDecodeQualification( TestUtil.getTestFile(productsFolder + "tests_dm/2009-04-16T104920_RE4_1B-NAC_3436599_84303_metadata.xml")); assertEquals(DecodeQualification.UNABLE, decodeQualification); decodeQualification = plugIn.getDecodeQualification( TestUtil.getTestFile(productsFolder + "small_deimos/DE01_SL6_22P_1T_20110228T092316_20110616T092427_DMI_0_2e9d.dim")); assertEquals(DecodeQualification.INTENDED, decodeQualification); Date endDate = Calendar.getInstance().getTime(); assertTrue("The decoding time for the file is too big!", (endDate.getTime() - startDate.getTime()) / 1000 < 30); }