### Question:
PISCANC405ErrorMapper extends Psd2ErrorMapper<MessageError, Error405NGPISCANC> { @Override public HttpStatus getErrorStatus() { return HttpStatus.METHOD_NOT_ALLOWED; }  @Override Function<MessageError, Error405NGPISCANC> getMapper(); @Override HttpStatus getErrorStatus();  }### Answer:
@Test void getErrorStatus_shouldReturn405() { HttpStatus errorStatus = piscanc405ErrorMapper.getErrorStatus(); assertEquals(HttpStatus.METHOD_NOT_ALLOWED, errorStatus); }