@Test public void addsGroupingHash() { // given final ILoggingEvent loggingEvent = createLoggingEvent() .with(createThrowableProxy()) .withMdcProperty("groupingHash", "someGroupingHash"); // when final NotificationVO notification = converter.convertToNotification(loggingEvent); final EventVO event = notification.getEvents().get(0); // then assertThat(event.getGroupingHash(), is("someGroupingHash")); }