### Question:
LandsatGeotiffReaderPlugin implements ProductReaderPlugIn { static boolean isMetadataFile(File file) { final String filename = file.getName().toLowerCase(); return filename.endsWith("_mtl.txt"); }  @Override DecodeQualification getDecodeQualification(Object input); @Override Class[] getInputTypes(); @Override ProductReader createReaderInstance(); @Override String[] getFormatNames(); @Override String[] getDefaultFileExtensions(); @Override String getDescription(Locale locale); @Override BeamFileFilter getProductFileFilter(); static VirtualDir getInput(Object input);  }### Answer:
@Test public void testIsMetadataFile() { final File metaFile = new File("L5043033_03319950627_MTL.txt"); final File nonMetaFile = new File("L5043033_03319950627_B50.TIF"); assertTrue(LandsatGeotiffReaderPlugin.isMetadataFile(metaFile)); assertFalse(LandsatGeotiffReaderPlugin.isMetadataFile(nonMetaFile)); }