### Question:
UniformContinuousDistribution extends AbstractContinuousDistribution { @Override public double getSupportUpperBound() { return upper; } UniformContinuousDistribution(double lower,
                                         double upper); @Override double density(double x); @Override double cumulativeProbability(double x); @Override double inverseCumulativeProbability(final double p); @Override double getMean(); @Override double getVariance(); @Override double getSupportLowerBound(); @Override double getSupportUpperBound(); @Override boolean isSupportConnected(); @Override ContinuousDistribution.Sampler createSampler(final UniformRandomProvider rng);  }### Answer:
@Test void testGetUpperBound() { final UniformContinuousDistribution distribution = makeDistribution(); Assertions.assertEquals(1.25, distribution.getSupportUpperBound()); }