@Test
public void testSerializeList() throws Exception {

    List<StratioStreamingMessage> messages= new ArrayList<>();
    messages.add(StreamsHelper.getSampleMessage());
    messages.add(StreamsHelper.getSampleMessage());
    List<Event> events= serializer.serialize(messages);
    assertEquals("Expected value not found", 2, events.size());
}