@Test
public void shouldProduceLoggingHandler() {

    producer.handlerClass = "uk.gov.justice.services.core.envelope.LoggingValidationExceptionHandler";
    assertThat(producer.envelopeValidationExceptionHandler(), instanceOf(LoggingValidationExceptionHandler.class));
}