EnviProductReaderPlugIn implements ProductReaderPlugIn { static File getInputFile(Object input) { return new File(input.toString()); }  @Override DecodeQualification getDecodeQualification(Object input); @Override String[] getFormatNames(); @Override ProductReader createReaderInstance(); @Override String[] getDefaultFileExtensions(); @Override Class[] getInputTypes(); @Override String getDescription(Locale locale); @Override BeamFileFilter getProductFileFilter();  }
@Test public void testGetInputFile() { final String inputFileName = "test.file"; File file = EnviProductReaderPlugIn.getInputFile(inputFileName); assertEquals(inputFileName, file.getName()); final File inputFile = new File(inputFileName); file = EnviProductReaderPlugIn.getInputFile(inputFile); assertEquals(inputFileName, file.getName()); }