@Test
public void testBuildEventShouldReturnSameId() {

    Integer input = 12345;
    Message message = new Message().body(input);
    EventConsumer eventConsumer = buildEventConsumer(TestEventContainsId.class);
    TestEventContainsId event = (TestEventContainsId)eventConsumer.buildEvent(message);
    Integer output = event.getId();
    Assert.assertNotNull(output);
    Assert.assertEquals(input, output);
}