Color implements ConfigurationSerializable { public Color setBlue(int blue) { return fromRGB(getRed(), getGreen(), blue); } private  Color(int red, int green, int blue); static Color fromRGB(int red, int green, int blue); static Color fromBGR(int blue, int green, int red); static Color fromRGB(int rgb); static Color fromBGR(int bgr); int getRed(); Color setRed(int red); int getGreen(); Color setGreen(int green); int getBlue(); Color setBlue(int blue); int asRGB(); int asBGR(); Color mixDyes(DyeColor... colors); Color mixColors(Color... colors); @Override boolean equals(Object o); @Override int hashCode(); Map<String, Object> serialize(); @SuppressWarnings("javadoc") static Color deserialize(Map<String, Object> map); @Override String toString(); static final Color WHITE; static final Color SILVER; static final Color GRAY; static final Color BLACK; static final Color RED; static final Color MAROON; static final Color YELLOW; static final Color OLIVE; static final Color LIME; static final Color GREEN; static final Color AQUA; static final Color TEAL; static final Color BLUE; static final Color NAVY; static final Color FUCHSIA; static final Color PURPLE; static final Color ORANGE; }
@Test(expected=IllegalArgumentException.class) public void testInvalidB09() { Color.WHITE.setBlue(-1); }
@Test(expected=IllegalArgumentException.class) public void testInvalidB10() { Color.WHITE.setBlue(Integer.MAX_VALUE); }
@Test(expected=IllegalArgumentException.class) public void testInvalidB11() { Color.WHITE.setBlue(Integer.MIN_VALUE); }
@Test(expected=IllegalArgumentException.class) public void testInvalidB12() { Color.WHITE.setBlue(0x100); }