### Question:
IdpIdaStatusMarshaller extends IdaStatusMarshaller<IdpIdaStatus> { @Override protected Optional<String> getStatusMessage(IdpIdaStatus originalStatus) { return originalStatus.getMessage(); } IdpIdaStatusMarshaller(OpenSamlXmlObjectFactory samlObjectFactory);   }### Answer:
@Test public void transform_shouldTransformRequesterErrorWithMessage() throws Exception { String message = "Oh dear"; Status transformedStatus = marshaller.toSamlStatus(IdpIdaStatus.requesterError(Optional.of(message))); assertThat(transformedStatus.getStatusCode().getValue()).isEqualTo(StatusCode.REQUESTER); assertThat(transformedStatus.getStatusMessage().getMessage()).isEqualTo(message); }