@Test
public void testSetParameters() throws Exception {

    IRule rule = new IsotopePatternRule();
    Object[] params = new Object[2];
    params[0] = new ArrayList<Double[]>();
    params[1] = 0.0001;
    rule.setParameters(params);
    Object[] objects = rule.getParameters();
    Assert.assertNotNull(objects[0]);
    Assert.assertEquals(2, objects.length);
}