### Question:
RapidEyeMetadata extends XmlMetadata { public SpatialReferenceSystem getReferenceSystem() { SpatialReferenceSystem srs = null; MetadataElement currentElement; if (((currentElement = rootElement.getElement(RapidEyeConstants.TAG_RESULT_OF)) != null) && ((currentElement = currentElement.getElement(RapidEyeConstants.TAG_EARTH_OBSERVATION_RESULT)) != null) && ((currentElement = currentElement.getElement(RapidEyeConstants.TAG_PRODUCT)) != null) && ((currentElement = currentElement.getElement(RapidEyeConstants.TAG_PRODUCT_INFORMATION)) != null) && ((currentElement = currentElement.getElement(RapidEyeConstants.TAG_SPATIAL_REFERENCE_SYSTEM)) != null)) { srs = new SpatialReferenceSystem(); srs.epsgCode = currentElement.getAttributeString(RapidEyeConstants.TAG_EPSG_CODE, "N/A"); srs.geodeticDatum = currentElement.getAttributeString(RapidEyeConstants.TAG_GEODETIC_DATUM, "N/A"); srs.projectionCode = currentElement.getAttributeString(RapidEyeConstants.TAG_PROJECTION, "N/A"); srs.projectionZone = currentElement.getAttributeString(RapidEyeConstants.TAG_PROJECTION_ZONE, "N/A"); } return srs; } 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 testGetReferenceSystem() throws Exception { assertNotNull(metadata.getReferenceSystem()); assertEquals("4326", metadata.getReferenceSystem().epsgCode); assertEquals("N/A", metadata.getReferenceSystem().geodeticDatum); assertEquals("N/A", metadata.getReferenceSystem().projectionCode); assertEquals("N/A", metadata.getReferenceSystem().projectionZone); }