### Question:
Color { public int getAlpha() { return (int) a; } Color(int r, int g, int b, int a);  Color(int r, int g, int b);  Color(int value);  Color(int value, boolean hasalpha);  Color(Color color); int getRed(); int getGreen(); int getBlue(); int getAlpha(); int getRGB(); static List<Color> getIndexedColors(); static Color decode(String colorValue); static Color getColor(String name); static Color getColor(String name, Color defaultValue); static Color getColor(String name, int defaultValue); Color brighter(); Color darker(); static Color getColorAt(Integer colorIndex); static int indexOf(Color color); static Color getRandomColor(Random random); static Color getRandomColor(); @Override int hashCode(); @Override boolean equals(Object obj); static final Color white; static final Color WHITE; static final Color lightGray; static final Color LIGHT_GRAY; static final Color gray; static final Color GRAY; static final Color darkGray; static final Color DARK_GRAY; static final Color black; static final Color BLACK; static final Color red; static final Color RED; static final Color pink; static final Color PINK; static final Color orange; static final Color ORANGE; static final Color yellow; static final Color YELLOW; static final Color green; static final Color GREEN; static final Color magenta; static final Color MAGENTA; static final Color cyan; static final Color CYAN; static final Color blue; static final Color BLUE; }### Answer:
@Test void constructor_rgbaValues_matchesAWT() { int r = 1; int g = 2; int b = 3; int a = 4; Color color = new Color(r, g, b, a); java.awt.Color awtColor = new java.awt.Color(r, g, b, a); System.err.println(awtColor.getAlpha()); checkColorWithAWT(awtColor, color); }