MassToFormulaTool { public List<IRule> getRestrictions() { return this.rules; } MassToFormulaTool(IChemObjectBuilder builder); void setRestrictions(List<IRule> rulesNew); List<IRule> getRestrictions(); void setDefaultRestrictions(); IMolecularFormulaSet generate(double mass);  }
@Test public void testGetRestrictions() { Assert.assertNotNull(new MassToFormulaTool(builder).getRestrictions()); }