### Question:
RapidEyeMetadata extends XmlMetadata { @Override public String getProductName() { String name = null; MetadataElement currentElement; if (((currentElement = rootElement.getElement(RapidEyeConstants.TAG_META_DATA_PROPERTY)) != null) && ((currentElement = currentElement.getElement(RapidEyeConstants.TAG_EARTH_OBSERVATION_META_DATA)) != null)) { name = currentElement.getAttributeString(RapidEyeConstants.TAG_IDENTIFIER, null); rootElement.setDescription(name); } return name; } RapidEyeMetadata(String name); @Override String getFileName(); @Override int getNumBands(); @Override String getProductName(); @Override String getFormatName(); @Override String getMetadataProfile(); @Override String getProductDescription(); @Override int getRasterWidth(); @Override int getRasterHeight(); String getBrowseFileName(); String getMaskFileName(); @Override String[] getRasterFileNames(); SpatialReferenceSystem getReferenceSystem(); ProductData.UTC getProductStartTime(); ProductData.UTC getProductEndTime(); ProductData.UTC getCenterTime(); float getScaleFactor(int bandIndex); int getPixelFormat(); float[] getCornersLatitudes(); float[] getCornersLongitudes(); RationalCoefficients getRationalPolinomialCoefficients();  }### Answer:
@Test public void testGetProductName() throws Exception { assertEquals("2009-04-16T104920_RE4_1B-NAC_3436599_84303", metadata.getProductName()); }