@Test public void addsReleaseStageFromConfigurationToEvent() { // given configuration.setReleaseStage("someReleaseStage"); final ILoggingEvent loggingEvent = createLoggingEvent().with(createThrowableProxy()); // when final NotificationVO notification = converter.convertToNotification(loggingEvent); final EventVO event = notification.getEvents().get(0); // then assertThat(event.getReleaseStage(), is("someReleaseStage")); }