@Test
public void serAndDeser() {

    GenericEvent event = GenericEventBuilder.anEvent()
            .withEvent("Type")
            .withTimestamp(1L)
            .withSource("me")
            .withParameter("a", Value.of(1L))
            .withParameter("b", Value.of("String"))
            .build();
    GenericEvent event1;
    EventSerializationSchema ser = new EventSerializationSchema();
    EventDeserializerSchema deSer = new EventDeserializerSchema();
    byte[] bytes = ser.serialize(event);
    event1 = deSer.deserialize(bytes);
    Assert.assertEquals(event, event1);
}