@Test
public void testGetColorWithAlpha() {

    System.out.println("getColorWithAlpha");
    Color c = new Color(40, 40, 40);
    double alpha = 0.5;
    Color expResult = new Color(40, 40, 40, 127);
    Color result = ColorHelper.getColorWithAlpha(c, alpha);
    assertEquals(expResult, result);
    alpha = -1.0;
    result = ColorHelper.getColorWithAlpha(c, alpha);
    expResult = new Color(40, 40, 40, 0);
    alpha = 2.0;
    result = ColorHelper.getColorWithAlpha(c, alpha);
    expResult = new Color(40, 40, 40, 255);
}