ConstantDoubleImpl implements ToDouble<T>, ConstantExpression<T, Double> { @Override public Double value() { return constant; } ConstantDoubleImpl(double constant); @Override double applyAsDouble(T object); @Override Double value();  }
@Test void value() { assertEquals(CONSTANT, instance.value()); }