### Question:
ConstantIndicator extends AbstractIndicator<T> { public ConstantIndicator(T t) { super(null); this.value = t; } ConstantIndicator(T t); @Override T getValue(int index); @Override String toString();  }### Answer:
@Test public void constantIndicator() { assertDecimalEquals(constantIndicator.getValue(0), "30.33"); assertDecimalEquals(constantIndicator.getValue(1), "30.33"); assertDecimalEquals(constantIndicator.getValue(10), "30.33"); assertDecimalEquals(constantIndicator.getValue(30), "30.33"); }