### Question:
AlosAV2Metadata extends XmlMetadata { public Color getSaturatedColor() { Color color; try { final int red = (int) (AlosAV2Constants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(AlosAV2Constants.PATH_IMG_SPECIAL_VALUE_TEXT, AlosAV2Constants.SATURATED, AlosAV2Constants.PATH_SPECIAL_VALUE_COLOR_RED_LEVEL, AlosAV2Constants.STRING_ZERO))); final int green = (int) (AlosAV2Constants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(AlosAV2Constants.PATH_IMG_SPECIAL_VALUE_TEXT, AlosAV2Constants.SATURATED, AlosAV2Constants.PATH_SPECIAL_VALUE_COLOR_GREEN_LEVEL, AlosAV2Constants.STRING_ZERO))); final int blue = (int) (AlosAV2Constants.MAX_LEVEL * Double.parseDouble(getAttributeSiblingValue(AlosAV2Constants.PATH_IMG_SPECIAL_VALUE_TEXT, AlosAV2Constants.SATURATED, AlosAV2Constants.PATH_SPECIAL_VALUE_COLOR_BLUE_LEVEL, AlosAV2Constants.STRING_ZERO))); color = new Color(red, green, blue); } catch (NumberFormatException e) { color = Color.WHITE; } return color; } AlosAV2Metadata(String name); @Override String getFileName(); @Override String getProductName(); @Override 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(); Map<String, String> getBandUnits(); @Override int getNumBands(); int getNoDataValue(); Color getNoDataColor(); int getSaturatedPixelValue(); Color getSaturatedColor(); ProductData.UTC getCenterTime(); float getGain(final String bandName); float getBias(final String bandName); String getProcessingLevel(); InsertionPoint[] getGeopositionPoints(); int getPixelDataType();  }### Answer:
@Test public void testGetSaturatedColor() throws Exception { assertEquals(Color.WHITE, metadata.getSaturatedColor()); }