@Test
public void testBuildEventShouldReturnSameContent() {

    String input = "test";
    Message message = new Message().body(input);
    EventConsumer eventConsumer = buildEventConsumer(TestEventContainsContent.class);
    TestEventContainsContent event = (TestEventContainsContent)eventConsumer.buildEvent(message);
    String output = event.getContent();
    Assert.assertNotNull(output);
    Assert.assertEquals(input, output);
}