ElementRule implements IRule { public ElementRule() {} ElementRule(); @Override void setParameters(Object[] params); @Override Object[] getParameters(); @Override double validate(IMolecularFormula formula);  }
@Test public void testElementRule() throws Exception { IRule rule = new ElementRule(); Assert.assertNotNull(rule); }