@Test
public void testEquality() throws Exception {

    AreaParameters ap = new AreaParameters(Color.BLUE, .25, 42.0, "2", Color.YELLOW, .46);
    AreaParameters ap2 = new AreaParameters(Color.BLUE, .25, 42.0, "2", Color.YELLOW, .46);
    assertTrue(ap.equals(ap2));
    assertFalse(ap.equals("ahoi"));
}