### Question:
AmsreProductReader extends AbstractProductReader { static String extractProductName(String coreMeta) { final int localGranuleIdStart = coreMeta.indexOf("LOCALGRANULEID"); final int valueIndex = coreMeta.indexOf("VALUE", localGranuleIdStart); final int copyStart = coreMeta.indexOf("\"", valueIndex) + 1; final int copyEnd = coreMeta.indexOf("\"", copyStart); return coreMeta.substring(copyStart, copyEnd); } protected  AmsreProductReader(ProductReaderPlugIn readerPlugIn); @Override void close();  }### Answer:
@Test public void testExtractProductName() { final String productName = AmsreProductReader.extractProductName(CORE_META); assertEquals("AMSR_E_L2A_BrightnessTemperatures_V12_200502170446_A.hdf", productName); }