### Question:
DeimosMetadata extends XmlMetadata { @Override public int getRasterHeight() { if (height == 0) { try { height = Integer.parseInt(getAttributeValue(DeimosConstants.PATH_NROWS, DeimosConstants.STRING_ZERO)); } catch (NumberFormatException e) { warn(MISSING_ELEMENT_WARNING, DeimosConstants.PATH_NROWS); } } return height; } DeimosMetadata(String name); @Override String getFileName(); @Override String getProductName(); String getProductDescription(); @Override String getFormatName(); @Override String getMetadataProfile(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); String[] getBandNames(); String[] getBandUnits(); @Override int getNumBands(); int getNoDataValue(); Color getNoDataColor(); int getSaturatedPixelValue(); Color getSaturatedColor(); ProductData.UTC getCenterTime(); String getProcessingLevel(); InsertionPoint[] getGeopositionPoints();  }### Answer:
@Test public void testGetRasterHeight() throws Exception { assertEquals(1889, metadata.getRasterHeight()); }