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