ColorUtility { public static String toHexLowercase(Color color) { return toHex(color).toLowerCase(); }  static String toHex(Color color); static String toHexLowercase(Color color); static Color fromHex(String hex);  }
@Test public void testToHexLowercase() { Color color = Color.BLUE; String expResult = "#0000ff"; String result = ColorUtility.toHexLowercase(color); assertThat(expResult, is(equalTo(result))); }