### Question:
DeimosMetadata extends XmlMetadata { public int getNoDataValue() { int noData = Integer.MIN_VALUE; try { noData = Integer.parseInt(getAttributeSiblingValue(DeimosConstants.PATH_SPECIAL_VALUE_TEXT, DeimosConstants.NODATA_VALUE, DeimosConstants.PATH_SPECIAL_VALUE_INDEX, Integer.toString(Integer.MIN_VALUE))); } catch (NumberFormatException e) { warn(MISSING_ELEMENT_WARNING, DeimosConstants.NODATA_VALUE); } return noData; } 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 testGetNoDataValue() throws Exception { assertEquals(0, metadata.getNoDataValue()); }