UUIDELFunction implements ELFunction { @Override public String evalute(String... args) { return UUID.randomUUID().toString(); }  @Override String evalute(String... args);  }
@Test public void testSimpleEvaluation() { UUIDELFunction function = new UUIDELFunction(); String uuid = function.evalute(); assertEquals(36, uuid.length()); assertEquals(8, uuid.indexOf('-')); assertEquals(23, uuid.lastIndexOf('-')); assertEquals("-", uuid.substring(13, 14)); assertEquals("4", uuid.substring(14, 15)); assertEquals("-", uuid.substring(18, 19)); }