### Question:
SB500ErrorMapper extends Psd2ErrorMapper<MessageError, Error500NGSB> { @Override public HttpStatus getErrorStatus() { return HttpStatus.INTERNAL_SERVER_ERROR; }  @Override Function<MessageError, Error500NGSB> getMapper(); @Override HttpStatus getErrorStatus();  }### Answer:
@Test void getErrorStatus_shouldReturn500() { HttpStatus errorStatus = sb500ErrorMapper.getErrorStatus(); assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, errorStatus); }