### Question:
DeimosMetadata extends XmlMetadata { public Color getSaturatedColor() { Color color; try { int red = (int) (DeimosConstants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(DeimosConstants.PATH_SPECIAL_VALUE_TEXT, DeimosConstants.SATURATED_VALUE, DeimosConstants.PATH_SPECIAL_VALUE_COLOR_RED_LEVEL, DeimosConstants.STRING_ZERO))); int green = (int) (DeimosConstants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(DeimosConstants.PATH_SPECIAL_VALUE_TEXT, DeimosConstants.SATURATED_VALUE, DeimosConstants.PATH_SPECIAL_VALUE_COLOR_GREEN_LEVEL, DeimosConstants.STRING_ZERO))); int blue = (int) (DeimosConstants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(DeimosConstants.PATH_SPECIAL_VALUE_TEXT, DeimosConstants.SATURATED_VALUE, DeimosConstants.PATH_SPECIAL_VALUE_COLOR_BLUE_LEVEL, DeimosConstants.STRING_ZERO))); color = new Color(red, green, blue); } catch (NumberFormatException e) { color = Color.WHITE; } return color; } 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 testGetSaturatedColor() throws Exception { assertEquals(Color.BLACK, metadata.getSaturatedColor()); }