@Test
public void testGetParameter(){

    try {
        testAddMapItems();
        recode.setLookupValue(new StringLiteral("k1"));
        assertTrue(recode.getColor(null, -1) == c1.getColor(null, -1));
        recode.setLookupValue(new StringLiteral("k2"));
        assertTrue(recode.getColor(null, -1) == c2.getColor(null, -1));
        recode.setLookupValue(new StringLiteral("k3"));
        assertTrue(recode.getColor(null, -1) == c3.getColor(null, -1));
    } catch (ParameterException ex) {
        Logger.getLogger(Recode2ColorTest.class.getName()).log(Level.SEVERE, null, ex);
        assertTrue(false);
    }
}