@Test
public void testSetParameters() throws ClassNotFoundException, CDKException, Exception {

    IRule rule = new RDBERule();
    Object[] params = new Object[2];
    params[0] = 0.0;
    params[1] = 10.0;
    rule.setParameters(params);
    Object[] objects = rule.getParameters();
    Assert.assertEquals(2, objects.length);
    double min = (Double) objects[0];
    double max = (Double) objects[1];
    Assert.assertEquals(0.0, min, 0.00001);
    Assert.assertEquals(10.0, max, 0.00001);
}