@Test
public void testRemove() throws Exception {

    CategorizedArea ca = getCategorizedArea();
    AreaParameters tester = ca.remove(75000.0);
    assertTrue(tester.equals(new AreaParameters(Color.decode("#dd77ee"),.2,7.0,"1 6 8 1",Color.decode("#dd66ee"),.5)));
    tester = new AreaParameters(Color.decode("#dd77ee"),.2,2.0,"1 3 1 2 5",Color.decode("#dd66ee"),.5);
    assertTrue(ca.get(70000.0).equals(tester));
    tester = new AreaParameters(Color.decode("#dd77ee"),.2,10.0,"5 5",Color.decode("#ffaa99"),.5);
    assertTrue(ca.get(100000.0).equals(tester));
    assertFalse(ca.containsKey(75000.0));
}