### Question:
LaplaceDistribution implements ProbabilityDistribution<Double> { @Override public double getInverseCDF(Double p) { ArgChecker.notNull(p, "p"); ArgChecker.isTrue(p >= 0 && p <= 1, "Probability must lie between 0 and 1 (inclusive)"); return _mu - _b * Math.signum(p - 0.5) * Math.log(1 - 2 * Math.abs(p - 0.5)); } LaplaceDistribution(double mu, double b);  LaplaceDistribution(double mu, double b, RandomEngine engine); @Override double getCDF(Double x); @Override double getInverseCDF(Double p); @Override double getPDF(Double x); @Override double nextRandom(); double getMu(); double getB(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testInverseCDFWithLow() { assertThatIllegalArgumentException() .isThrownBy(() -> LAPLACE.getInverseCDF(-0.45)); }
@Test public void testInverseCDFWithHigh() { assertThatIllegalArgumentException() .isThrownBy(() -> LAPLACE.getInverseCDF(6.7)); }