### Question:
NonCentralChiSquaredDistribution implements ProbabilityDistribution<Double> { @Override public double getInverseCDF(Double p) { throw new UnsupportedOperationException(); } NonCentralChiSquaredDistribution(double degrees, double nonCentrality); @Override double getCDF(Double x); @Override double getInverseCDF(Double p); @Override double getPDF(Double x); @Override double nextRandom(); double getDegrees(); double getNonCentrality(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testInverseCDF() { assertThatExceptionOfType(UnsupportedOperationException.class) .isThrownBy(() -> DIST.getInverseCDF(0.5)); }