@Test
public void createEvent() {

    Map<String, Value> parameters = new HashMap<>();
    parameters.put("test", Value.of(123L));
    GenericEvent event = handler.createEvent("testEvent", context, parameters);
    assertEquals(123L,(long)event.getParameter("test").getAsLong());
    // serializable test
    GenericExtractorTriggerHandler clone = ClonerUtil.clone(handler);
    event = clone.createEvent("testEvent", context, parameters);
    assertEquals(123L,(long)event.getParameter("test").getAsLong());
}