### Question:
PIS406ErrorMapper extends Psd2ErrorMapper<MessageError, Error406NGPIS> { @Override public HttpStatus getErrorStatus() { return HttpStatus.NOT_ACCEPTABLE; }  @Override Function<MessageError, Error406NGPIS> getMapper(); @Override HttpStatus getErrorStatus();  }### Answer:
@Test void getErrorStatus_shouldReturn406() { HttpStatus errorStatus = pis406ErrorMapper.getErrorStatus(); assertEquals(HttpStatus.NOT_ACCEPTABLE, errorStatus); }