@Test
public void testPutColorProperty() {

    WProperties prop = new WProperties();
    prop.putColorProperty("color", COLOR_ALPHA); //$NON-NLS-1$
    Assert.assertEquals("different color", COLOR_ALPHA, prop.getColorProperty("color")); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putColorProperty("color", Color.GREEN); //$NON-NLS-1$
    Assert.assertEquals("different color", Color.GREEN, prop.getColorProperty("color")); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putColorProperty("color", null); //$NON-NLS-1$
    // Return the previous value
    Assert.assertEquals("different color", Color.GREEN, prop.getColorProperty("color")); //$NON-NLS-1$ //$NON-NLS-2$
}