### Question:
EventConverter { public F2SEvent convert(Event event) { return new F2SEventBuilder().body(event.getBody()).headers(event.getHeaders()).get(); } EventConverter(); F2SEvent convert(Event event);  }### Answer:
@Test public void testCompleteEvent() { EventConverter converter = new EventConverter(); Event event = EventBuilder.withBody("whatever".getBytes(), ImmutableMap.of("timestamp", Instant.now().toString())); F2SEvent f2sEvent = converter.convert(event); assertThat(f2sEvent.getBody()).isEqualTo(event.getBody()); assertThat(f2sEvent.getHeaders()).isEqualTo(event.getHeaders()); }