### Question:
ExponentialDistribution extends AbstractContinuousDistribution { @Override public double getMean() { return mean; } ExponentialDistribution(double mean); @Override double density(double x); @Override double logDensity(double x); @Override double cumulativeProbability(double x); @Override double inverseCumulativeProbability(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 testMeanAccessors() { final ExponentialDistribution distribution = makeDistribution(); Assertions.assertEquals(5d, distribution.getMean()); }