JexlNumericFunctions implements ExpressionContextVisitor { public String randomNegativeFloat(Object owhole, Object odecimal) { return "-" + randomPositiveFloat(owhole, odecimal); }  @Override void visit(JexlContext context); String mod(Object num, Object mod); String add(Object... values); String subtract(Object... values); String random(Object omin, Object omax); String random(Object omax); String randomPositiveWhole(Object olength); String randomNegativeWhole(Object olength); String randomPositiveFloat(Object owhole, Object odecimal); String randomNegativeFloat(Object owhole, Object odecimal); String toInt(String num);  }
@Test @Tag(TestGroups.FUNCTIONAL) public void testRandomNegativeFloat() { String random = variables.evaluate("#{numericFunctions.randomNegativeFloat(6, 4)}"); assertNotNull(random); assertEquals(random.length(), 12); random = variables.evaluate("#{numericFunctions.randomNegativeFloat(two_int, three_float)}"); assertNotNull(random); assertEquals(random.length(), 7); }