@Test
public void shouldProduceRethrowingHandler() {

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