Exemplo n.º 1
0
 /** Test a null formula */
 @Test
 public void testNullFormula() {
   logger.info("Test null Formula");
   String formula = null;
   Object resObject = Formula.evalFormula(formula);
   Assert.assertNull(resObject);
 }
Exemplo n.º 2
0
 /** Test an invalid formula; should return null value */
 public void testInvalidFormula() {
   logger.info("Test invalid Formula");
   String formula = "ax";
   Object resObject = Formula.evalFormula(formula);
   Assert.assertNull(resObject);
 }