@Test
public void testMarkMessageHeaderWhenRequested() {

    // GIVEN
    given(configurationAccess.getProperties()).willReturn(messageMarkerRequest);
    given(messageMarkerRequest.getNeedMessageMarker()).willReturn(true);
    given(request.getWilmaMessageId()).willReturn("blah");
    // WHEN
    underTest.markMessageHeader(request);
    // THEN
    verify(request).addHeaderUpdate(WilmaHttpEntity.WILMA_LOGGER_ID, "blah");
}