### Question:
SeasonalityDefinition implements ImmutableBean, Serializable { public static SeasonalityDefinition of(DoubleArray seasonalityMonthOnMonth, ShiftType adjustmentType) { ArgChecker.isTrue(seasonalityMonthOnMonth.size() == 12, "seasonality must be of length 12"); return new SeasonalityDefinition(seasonalityMonthOnMonth, adjustmentType); } private  SeasonalityDefinition(
      DoubleArray seasonalityMonthOnMonth,
      ShiftType adjustmentType); static SeasonalityDefinition of(DoubleArray seasonalityMonthOnMonth, ShiftType adjustmentType); static SeasonalityDefinition.Meta meta(); @Override SeasonalityDefinition.Meta metaBean(); DoubleArray getSeasonalityMonthOnMonth(); ShiftType getAdjustmentType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { SeasonalityDefinition test = SeasonalityDefinition.of(SEASONALITY_ADDITIVE, ADDITIVE); coverImmutableBean(test); DoubleArray seasonalityMultiplicative = DoubleArray.of( 1.0, 1.0, 1.1d, 1.0, 1.0, 1.0, 1.0d / 1.1d, 1.0, 1.0, 1.0, 1.0, 1.0); SeasonalityDefinition test2 = SeasonalityDefinition.of(seasonalityMultiplicative, ShiftType.SCALED); coverBeanEquals(test, test2); }
@Test public void test_serialization() { SeasonalityDefinition test = SeasonalityDefinition.of(SEASONALITY_ADDITIVE, ADDITIVE); assertSerialization(test); }