### Question:
ExponentiallyWeightedInterpolationQuantileMethod extends QuantileCalculationMethod { @Override public double quantileFromUnsorted(double level, DoubleArray sample) { return quantileResultFromUnsorted(level, sample).getValue(); } ExponentiallyWeightedInterpolationQuantileMethod(double lambda); @Override QuantileResult quantileResultFromUnsorted(double level, DoubleArray sample); @Override QuantileResult quantileResultWithExtrapolationFromUnsorted(double level, DoubleArray sample); @Override double quantileFromUnsorted(double level, DoubleArray sample); @Override double quantileWithExtrapolationFromUnsorted(double level, DoubleArray sample); @Override QuantileResult expectedShortfallResultFromUnsorted(double level, DoubleArray sample); @Override double expectedShortfallFromUnsorted(double level, DoubleArray sample); QuantileResult quantileDetailsFromUnsorted(double level, DoubleArray sample); QuantileResult expectedShortfallDetailsFromUnsorted(double level, DoubleArray sample); double[] weights(int size);  }### Answer:
@Test public void quantile_not_extrapolated() { double level = 0.999; assertThatIllegalArgumentException() .isThrownBy(() -> METHOD.quantileFromUnsorted(level, DATA_123)); }