### Question:
ValueSchedule implements ImmutableBean, Serializable { public static ValueSchedule of(double value) { return new ValueSchedule(value, ImmutableList.of(), null); } private  ValueSchedule(
      double initialValue,
      List<ValueStep> steps,
      ValueStepSequence stepSequence); static ValueSchedule of(double value); static ValueSchedule of(double initialValue, ValueStep... steps); static ValueSchedule of(double initialValue, List<ValueStep> steps); static ValueSchedule of(double initialValue, ValueStepSequence stepSequence); DoubleArray resolveValues(Schedule schedule); static ValueSchedule.Meta meta(); static ValueSchedule.Builder builder(); @Override ValueSchedule.Meta metaBean(); double getInitialValue(); List<ValueStep> getSteps(); Optional<ValueStepSequence> getStepSequence(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final ValueSchedule ALWAYS_0; static final ValueSchedule ALWAYS_1; }### Answer:
@Test public void coverage() { ValueStepSequence seq = ValueStepSequence.of( date(2014, 2, 1), date(2014, 3, 1), Frequency.P1M, ValueAdjustment.ofDeltaAmount(100)); ValueSchedule test = ValueSchedule.of(10000d, Lists.newArrayList(STEP1, STEP2)); coverImmutableBean(test); coverBeanEquals(test, ValueSchedule.of(20000d, seq)); }
@Test public void test_serialization() { assertSerialization(ValueSchedule.of(10000d, Lists.newArrayList(STEP1, STEP2))); }