### Question:
ColorRgba { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + value; return result; } ColorRgba(int r, int g, int b);  ColorRgba(int r, int g, int b, int a);  ColorRgba(int value); int getRgba(); int getRed(); int getGreen(); int getBlue(); int getAlpha(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final ColorRgba RED; static final ColorRgba GREEN; static final ColorRgba BLUE; static final ColorRgba CYAN; static final ColorRgba PURPLE; static final ColorRgba YELLOW; static final ColorRgba WHITE; static final ColorRgba GRAY_LIGHT; static final ColorRgba GRAY; static final ColorRgba GRAY_DARK; static final ColorRgba BLACK; static final ColorRgba TRANSPARENT; static final ColorRgba OPAQUE; }### Answer:
@Test void testHashCode() { assertHashEquals(ColorRgba.BLACK, ColorRgba.BLACK); assertHashNotEquals(ColorRgba.WHITE, new Object()); assertHashNotEquals(ColorRgba.WHITE, ColorRgba.BLACK); }